Re: DBD::Informix

"Martin J. Evans" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
On 09/07/14 15:58, Helmut 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
>
>
>

I don't do Informix but all those missing symbols are in dl.so. Try to find a way to get the Makefile.PL to add -ldl to the link line. Maybe just setting LDFLAGS=-ldl and exporting it before running Makefile.PL will do it.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.