LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

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

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

Parts/Attachments: text/plain (16 lines)
Print Reply
Sender:
LISTSERV site administrators' forum <[log in to unmask]>
Date:
Mon, 4 Dec 2006 17:27:32 +0100
Reply-To:
LISTSERV site administrators' forum <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset="US-ASCII"
From:
Eric Thomas <[log in to unmask]>
> 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