ODBC port_program_executable_not_found

Michael McDaniel erlang@REDACTED
Mon Nov 7 09:31:51 CET 2005


On Fri, Nov 04, 2005 at 09:43:27AM -0600, Jeff Einhorn wrote:
> It looks like my reply never made it to the list yesterday, so here it is
> again.
> 
>  
> 
> I don't see the priv directory for the c odbcserver program, so I would assume
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

	Did odbcserver get created but not installed, or not created
	at all?

~M


> that the odbcserver didn't build correctly.  However, when trying to track down
> why this is the case I didn't see any odbc build errors during the make
> process.
> 
>  
> 
> make output
> 
> === Entering application odbc
> 
> make[3]: Entering directory `/usr/local/src/otp_src_R10B-8/lib/odbc/src'
> 
> erlc -W   +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.0.4"'  +'
> {parse_transform,sys_pre_attributes}' +'{attribute,insert,app_vsn,"odbc-2.0.4"}
> ' -o../ebin odbc.erl           erlc -W   +debug_info -I../include
> -D'SERVER_SOFTWARE="odbc/2.0.4"'  +'{parse_transform,sys_pre_attributes}' +'
> {attribute,insert,app_vsn,"odbc-2.0.4"}' -o../ebin odbc_app.erl
> 
> erlc -W   +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.0.4"'  +'
> {parse_transform,sys_pre_attributes}' +'{attribute,insert,app_vsn,"odbc-2.0.4"}
> ' -o../ebin odbc_sup.erl       sed -e 's;%VSN%;2.0.4;' odbc.app.src > ../ebin/
> odbc.app
> 
> sed -e 's;%VSN%;2.0.4;' odbc.appup.src > ../ebin/
> odbc.appup                                                                                                                         
> make[3]: Leaving directory `/usr/local/src/otp_src_R10B-8/lib/odbc/src'
> 
> make[3]: Entering directory `/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
> 
> make -f x86_64-unknown-linux-gnu/Makefile TYPE=opt
> 
> make[4]: Entering directory `/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
> 
> make[4]: Nothing to be done for `opt'.
> 
> make[4]: Leaving directory `/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
> 
> make[3]: Leaving directory `/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
> 
> === Skipping subdir doc/src, it is missing === Leaving application odbc
> 
>  
> 
> [root@REDACTED ebin]# pwd
> 
> /usr/local/lib/erlang/lib/odbc-2.0.4/ebin
> 
>  
> 
> [root@REDACTED ebin]# ls *.beam
> 
> odbc_app.beam  odbc.beam  odbc_sup.beam
> 
>  
> 
> [root@REDACTED src]# ls
> 
> odbc_app.erl  odbc.erl  odbc_internal.hrl  odbc_sup.erl
> 
>  
> 
> System specs:
> 
> Redhat AS 4 x86_64
> 
> OTP R10B-8
> 
>  
> 
> Thanks for your help,
> 
>  
> 
> Jeff
> 
>  
> 
> -----Original Message-----
> 
> From: owner-erlang-questions@REDACTED [
> mailto:owner-erlang-questions@REDACTED] On Behalf Of tobbe
> 
> Sent: Thursday, November 03, 2005 4:04 AM
> 
> To: erlang-questions@REDACTED
> 
> Subject: ODBC port_program_executable_not_found
> 
>  
> 
>  
> 
> Perhaps, your Erlang ODBC driver wasn't built properly.
> 
> Can you find the 'odbcserver' executable under the Erlang install directory ?
> For example:
> 
>  
> 
> # ls /usr/local/lib/erlang/lib/odbc-2.0.4/priv/bin/
> 
> odbcserver
> 
>  
> 
> Cheers, Tobbe
> 
>  
> 
> Jeffrey M. Einhorn
> Chief Technology Officer
> Fourscore Resource Capital, LLC
> 952.253.6300 / 888.889.6803
> 952.253.6363 (fax)
> Email: jeinhorn@REDACTED
> http://www.fourscorellc.com
> 
> Confidentiality Note:  This e-mail is intended only for the person to whom it
> is addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure.  Dissemination, distribution or copying of
> this e-mail or the information herein by anyone other than the intended
> recipient, or an employee or agent responsible for delivering the message to
> the intended recipient, is prohibited.  If you have received this e-mail in
> error, please destroy the original message and all copies.
> 
>  
> 

-- 
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284



More information about the erlang-questions mailing list