ODBC port_program_executable_not_found
Jeff Einhorn
jeinhorn@REDACTED
Mon Nov 7 15:39:09 CET 2005
The odbcserver is not built. Does it not compile for 64bit OS's yet?
ifeq ($(findstring win32,$(TARGET)),win32)
EI_LIB = -lerl_interface_md -lei_md
ENTRY_OBJ=$(ERL_TOP)/erts/obj/$(TARGET)/port_entry.o
PORT_ENTRY_POINT=erl_port_entry
ENTRY_LDFLAGS=-entry:$(PORT_ENTRY_POINT)
WIN32_TARGET = $(WIN_BIN_DIR)/odbcserver.exe
EXE_TARGET = $(WIN32_TARGET)
else
ifneq ($(BITS64),yes)
EI_LIB = -lerl_interface -lei
UNIX_TARGET = $(BIN_DIR)/odbcserver
EXE_TARGET = $(UNIX_TARGET)
endif
endif
[jeinhorn@REDACTED odbc]$ export ERL_TOP=/usr/local/src/otp_src_R10B-8
[jeinhorn@REDACTED odbc]$ make
=== Entering application odbc
make[1]: 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_tr ansform,sys_pre_attributes}'
+'{attribute,insert,app_vsn,"odbc-2.0.4"}' -o../ebi
n odbc.erl
erlc -W +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.0.4"'
+'{parse_tr ansform,sys_pre_attributes}'
+'{attribute,insert,app_vsn,"odbc-2.0.4"}' -o../ebi
n odbc_app.erl
erlc -W +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.0.4"'
+'{parse_tr ansform,sys_pre_attributes}'
+'{attribute,insert,app_vsn,"odbc-2.0.4"}' -o../ebi
n 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[1]: Leaving directory `/usr/local/src/otp_src_R10B-8/lib/odbc/src'
make[1]: Entering directory
`/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
make -f x86_64-unknown-linux-gnu/Makefile TYPE=debug
make[2]: Entering directory
`/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
make[2]: Nothing to be done for `opt'.
make[2]: Leaving directory
`/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
make[1]: Leaving directory
`/usr/local/src/otp_src_R10B-8/lib/odbc/c_src'
=== Skipping subdir doc/src, it is missing
=== Leaving application odbc
Thanks for your time,
Jeff
-----Original Message-----
From: owner-erlang-questions@REDACTED
[mailto:owner-erlang-questions@REDACTED] On Behalf Of Michael McDaniel
Sent: Monday, November 07, 2005 2:32 AM
To: erlang-questions@REDACTED
Subject: Re: ODBC port_program_executable_not_found
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