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 <h...@hzlabs.de> 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 <jonathan.leff...@gmail.com>  #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."

Reply via email to