I am having problems linking ODBC on bsdi.  They look like crt1.o
symbols.  Any ideas?  Libpq links with a similar line, and works fine.


---------------------------------------------------------------------------

#$ gmake
/usr/bin/ld -shared -soname libpsqlodbc.so.0 -Bsymbolic info.o bind.o
columninfo.o connection.o convert.o drvconn.o environ.o execute.o lobj.o
misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o
parse.o statement.o gpps.o tuple.o tuplelist.o dlg_specific.o 
-L/usr/local/lib -L/usr/contrib/lib -lm -lc  -o libpsqlodbc.so.0.26
/usr/bin/../lib/libc.a(syslog.o): In function `vsyslog':
syslog.o(.text+0x33e): undefined reference to `__progname'
/usr/bin/../lib/libc.a(malloc.o)(.text+0xe): undefined reference to
`__progname'
/usr/bin/../lib/libc.a(malloc.o)(.text+0xc9): undefined reference to
`__progname'
/usr/bin/../lib/libc.a(getenv.o): In function `__findenv':
getenv.o(.text+0x5a): undefined reference to `environ'
getenv.o(.text+0x68): undefined reference to `environ'
getenv.o(.text+0x95): undefined reference to `environ'
gmake: *** [libpsqlodbc.so.0.26] Error 1

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Fri, 9 Feb 2001 21:55:12 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Link problems