LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Eric Thomas <[log in to unmask]>
Mon, 4 Dec 2006 17:27:32 +0100
text/plain (16 lines)
> CFLAGS_Solaris=-lsocket -lnsl nooci.o -lodbc

You could always add $(CFLAGS) to the above if you are not sure CFLAGS is
being picked.

> As near as I can tell, the problems I am having are with links to  
> libgcc_s.so and libodbc.so (in /opt/gnu/lib and /opt/unixODBC,  
> respectively).

You could try linking with -static and -static-libgcc. The downside is that
you have to (or at least should) relink if you update unixODBC. You could
also front-end lsv_amin with a shell script that sets LD_LIBRARY_PATH and
calls the executable.

  Eric

ATOM RSS1 RSS2