ODBC port_program_executable_not_found

Jeff Einhorn <>
Fri Nov 4 16:43:27 CET 2005


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 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

 

[ ebin]# pwd

/usr/local/lib/erlang/lib/odbc-2.0.4/ebin

 

[ ebin]# ls *.beam

odbc_app.beam  odbc.beam  odbc_sup.beam

 

[ 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: 
[mailto:] On Behalf Of tobbe

Sent: Thursday, November 03, 2005 4:04 AM

To: 

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: 
http://www.fourscorellc.com <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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051104/98083f4d/attachment.html>


More information about the erlang-questions mailing list