This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Update: perl-Win32-GUI, perl-libwin32
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: Reini Urban <rurban at x-ray dot at>
- Cc: cygwin-apps at cygwin dot com
- Date: Wed, 02 Mar 2005 16:32:36 +0100
- Subject: Re: Update: perl-Win32-GUI, perl-libwin32
- Organization: Esse keine toten Tiere
- References: <420ABE5E.9010600@x-ray.at> <420E898E.5040500@familiehaase.de> <20050213175003.GB1076@efn.org> <42108A40.204@x-ray.at> <4211C473.1090207@x-ray.at> <42163558.7010902@x-ray.at> <42221747.4000807@familiehaase.de> <42223BE1.2000205@x-ray.at> <4222ECC9.6080502@familiehaase.de> <42236076.4070500@x-ray.at> <42239040.6010105@familiehaase.de> <422566F9.6030502@x-ray.at>
Reini Urban wrote:
Gerrit P. Haase schrieb:
$ nm /lib/libodbccp32.a | grep ' _SQL'
nm: '/lib/libodbccp32.a': No such file
I have the import library in the right place:
$ nm /lib/w32api/libodbccp32.a | grep ' _SQL'
00000000 T _SQLGetPrivateProfileString@24
00000000 T _SQLConfigDataSource@16
So this should be found by the linker.
Maybe the -L/usr/local/lib hurts you?
Is there another -lodbccp32?
Maybe a clash with iodbcunix?
$ ls /usr/lib/*odbc*
/usr/lib/libiodbc.a /usr/lib/libiodbc.la
/usr/lib/libiodbcadm.dll.a /usr/lib/libiodbcinst.a
/usr/lib/libiodbcinst.la /usr/lib/libodbc.dll.a@
/usr/lib/libiodbc.dll.a /usr/lib/libiodbcadm.a /usr/lib/libiodbcadm.la
/usr/lib/libiodbcinst.dll.a /usr/lib/libodbc.a@
$ ls /usr/local/lib/*odbc*
ls: /usr/local/lib/*odbc*: No such file or directory
Maybe some wrong header?
Which version of gcc are you using?
3.3.3
I use 3.4.x, but it *should* work anyway since it seems the linker is
irritated.
Gerrit
--
=^..^=
Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)