From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, PostgreSQL odbc list <pgsql-odbc(at)postgreSQL(dot)org> |
Subject: | Link problems |
Date: | 2001-02-10 02:55:12 |
Message-ID: | 200102100255.VAA07314@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-odbc |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Myers | 2001-02-10 03:12:17 | Re: Syslog and pg_options (for RPMs) |
Previous Message | Tom Lane | 2001-02-10 02:47:32 | Re: Plan for straightening out the include-file mess |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-10 05:46:26 | Fix for ODBC close |
Previous Message | Tom Lane | 2001-02-10 00:20:43 | Re: 6.2 protocol |