Re: DBD::Informix
Helmut <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
libdl (libdl-2.19.so) and libcrypt (libcrypt-2.19.so) are in /usr/lib64 which is in turn a link to /usr/lib Helmut Am 09.07.2014 18:27, schrieb Jonathan Leffler: > You may need to get an extra compilation flag, -ldl, added to the link > line, though it is a little surprising to find that's necessary. That > might solve dlopen, dlclose, dlerror, dlsym. Missing crypt is more > puzzling; maybe there's a library -lcrypt or something that's needed. It > is very odd, though; those are not normally a problem. > > The Perl configuration shows -ldl and -lcrypt are used. > > The debug output does not show a linking operation, but it is a linking > operation which is failing, which is very puzzling. I'll see what I can > do to reproduce it. > > > > > On Wed, Jul 9, 2014 at 7:58 AM, Helmut <[email protected] > <mailto:[email protected]>> wrote: > > Hi all, > > i have problems building DBD::Informix. > > Running Makefile.pl ends up with > > .. > /opt/IBM/informix/lib/__libifasf.so: undefined reference to `dlopen' > /opt/IBM/informix/lib/esql/__libifos.so: undefined reference to `crypt' > /opt/IBM/informix/lib/__libifasf.so: undefined reference to `dlclose' > /opt/IBM/informix/lib/__libifasf.so: undefined reference to `dlerror' > /opt/IBM/informix/lib/__libifasf.so: undefined reference to `dlsym' > collect2: Fehler: ld gab 1 als Ende-Status zurück > Failed to link test program esqltest > running on configuration at lib/DBD/Informix/TechSupport.__pm line 225. > > System: ArchLinux x86-64 > Perl: v5.18.2 > Informix: clientsdk.4.10.FC4DE.LINUX > DBD-Informix-2013.0521 > > The bug report "perl -Ilib BugReport A" is below / attached. > > What can i do to track the problem down? > > Thank you > Helmut > > > > > > > -- > Jonathan Leffler <[email protected] > <mailto:[email protected]>> #include <disclaimer.h> > Guardian of DBD::Informix - v2013.0521 - http://dbi.perl.org > "Blessed are we who can laugh at ourselves, for we shall never cease to > be amused."