Q: DBD-Informix

Q: DBD-Informix

Post by Sviatoslav Reentenk » Sun, 31 Dec 1899 09:00:00



Hi all!

 I can't build DBD-Informix v. 097005. The same thing occurs with
 DBD-Informix-0.95. Platform is RedHat Linux 6.0, Informix SE 7.24
 with ESQL/C, DBI 1.13. The DB server works well.

 When i start perl Makefile.PL, perl checks system and stop to work.
 Here is messages:

==
Configuring Informix Database Driver for Perl Version 0.97005
(2000-02-10) (aka
DBD::Informix)                                                                  
        You are using DBI version 1.13 and Perl version 5.00503
Remember to actually read the README
file!                                      

Perl:     perl5.00503 i386-linux dl_dlopen.xs
System:   linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1
17:44:44 est 19
999 i686 unknown
Compiler: cc -O2 -Dbool=char -DHAS_BOOL
-I/usr/local/include                    

Using INFORMIX-ESQL Version 7.24.UC5 from /home/informix
Assert macro will be
disabled!                                                  

Testing whether your Informix test environment will work...
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
/home/informix/lib/esql/libixsql.so: undefined reference to `_xstat'
/home/informix/lib/esql/libixos.so: undefined reference to `crypt'
collect2: ld returned 1 exit status
Failed to link test program esqltest
==

I saw that if i use -lcrypt option in esql command line, error with
'crypt'
fuction disappears, but "_xstat" which is in libc library remains.
LD_LIBRARY_PATH contains directory /lib with libcrypt and libc or (by
default)
/usr/lib.

Can anyone help me?

--
TIA,

 
 
 

Q: DBD-Informix

Post by Sviatoslav Reentenk » Sun, 31 Dec 1899 09:00:00


Hi all!

 I can't build DBD-Informix v. 097005. The same thing occurs with
 DBD-Informix-0.95. Platform is RedHat Linux 6.0, Informix SE 7.24
 with ESQL/C, DBI 1.13. The DB server works well.

 When i start perl Makefile.PL, perl checks system and stop to work.
 Here is messages:

==
Configuring Informix Database Driver for Perl Version 0.97005
(2000-02-10) (aka
DBD::Informix)                                                                  
        You are using DBI version 1.13 and Perl version 5.00503
Remember to actually read the README
file!                                      

Perl:     perl5.00503 i386-linux dl_dlopen.xs
System:   linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1
17:44:44 est 19
999 i686 unknown
Compiler: cc -O2 -Dbool=char -DHAS_BOOL
-I/usr/local/include                    

Using INFORMIX-ESQL Version 7.24.UC5 from /home/informix
Assert macro will be
disabled!                                                  

Testing whether your Informix test environment will work...
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
/home/informix/lib/esql/libixsql.so: undefined reference to `_xstat'
/home/informix/lib/esql/libixos.so: undefined reference to `crypt'
collect2: ld returned 1 exit status
Failed to link test program esqltest
==

I saw that if i use -lcrypt option in esql command line, error with
'crypt'
fuction disappears, but "_xstat" which is in libc library remains.
LD_LIBRARY_PATH contains directory /lib with libcrypt and libc or (by
default)
/usr/lib.

Can anyone help me?

--
TIA,


 
 
 

Q: DBD-Informix

Post by Sviatoslav Reentenk » Sun, 31 Dec 1899 09:00:00


Hi all!

 I can't build DBD-Informix v. 097005. The same thing occurs with
 DBD-Informix-0.95. Platform is RedHat Linux 6.0, Informix SE 7.24
 with ESQL/C, DBI 1.13. The DB server works well.

 When i start perl Makefile.PL, perl checks system and stop to work.
 Here is messages:

==
Configuring Informix Database Driver for Perl Version 0.97005
(2000-02-10) (aka
DBD::Informix)                                                                  
        You are using DBI version 1.13 and Perl version 5.00503
Remember to actually read the README
file!                                      

Perl:     perl5.00503 i386-linux dl_dlopen.xs
System:   linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1
17:44:44 est 19
999 i686 unknown
Compiler: cc -O2 -Dbool=char -DHAS_BOOL
-I/usr/local/include                    

Using INFORMIX-ESQL Version 7.24.UC5 from /home/informix
Assert macro will be
disabled!                                                  

Testing whether your Informix test environment will work...
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
cc: /home/informix/lib/libnetstub.so: linker input file unused since
linking not
 done
/home/informix/lib/esql/libixsql.so: undefined reference to `_xstat'
/home/informix/lib/esql/libixos.so: undefined reference to `crypt'
collect2: ld returned 1 exit status
Failed to link test program esqltest
==

I saw that if i use -lcrypt option in esql command line, error with
'crypt'
fuction disappears, but "_xstat" which is in libc library remains.
LD_LIBRARY_PATH contains directory /lib with libcrypt and libc or (by
default)
/usr/lib.

Can anyone help me?

--
TIA,

 
 
 

Q: DBD-Informix

Post by Jonathan Leffle » Sun, 31 Dec 1899 09:00:00



>  I can't build DBD-Informix v. 097005. The same thing occurs with
>  DBD-Informix-0.95. Platform is RedHat Linux 6.0, Informix SE 7.24
>  with ESQL/C, DBI 1.13. The DB server works well.

This question was also asked, quite properly, on the dbi-users mailing
list,
and the answer was given there too.

--

Guardian of DBD::Informix v0.95 -- see http://www.perl.com/CPAN
#include <disclaimer.h>