From: | Louis Bertrand <louis(at)bertrandtech(dot)on(dot)ca> |
---|---|
To: | pgsql-ports(at)postgreSQL(dot)org |
Subject: | ODBC under OpenBSD |
Date: | 1999-07-29 14:51:07 |
Message-ID: | Pine.BSO.4.10.9907291438550.16299-100000@tronix.bertrandtech.on.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Hello all,
I'm trying to build ODBC support under OpenBSD and I run into a link-time
problem in src/interfaces/odbc. I get a namespace conflict in regexp
functions between the built-in support in PostgreSQL (src/backend/regex)
and OpenBSD's native /usr/lib/libcompat.a .
I checked the FreeBSD port and NetBSD pkgsrc and they don't appear to
address ODBC at all.
The exact error message occurs in src/interfaces/odbc:
ld -x -Bshareable -Bforcearchive -o libpsqlodbc.so.0.25 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 tu ple.o tuplelist.o dlg_specific.o -lcompat -lm
-lreadline -ltermcap -lcurses
/usr/lib/libcompat.a(regerror.o): Definition of symbol `_v8_regerror'
(multiply defined)
/usr/lib/libcompat.a(regex.o): Definition of symbol `_v8_regerror'
(multiply defined)
gmake[2]: *** [libpsqlodbc.so.0.25] Error 1
gmake[2]: Leaving directory
`/home/louis/ports/postgresql/work/postgresql-6.5.1/src/interfaces/odbc'
1) Which of the two libraries should I keep? -- it sounds to me that I
should keep the one that comes with pgsql for consistent results.
2) How do I tell autoconf in src/interfaces/odbc to _not_ link the
unwanted library?
Thanks
--Louis <louis(at)bertrandtech(dot)on(dot)ca>
Louis Bertrand http://www.bertrandtech.on.ca
Bertrand Technical Services, Bowmanville, ON, Canada
OpenBSD: Secure by default. http://www.openbsd.org/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-07-29 15:09:31 | Re: [PORTS] HP-UX port |
Previous Message | Thomas Lockhart | 1999-07-29 14:44:31 | Re: [PORTS] RedHat6.0 & Alpha |