Those C libraries are not searched for via the @INC Path from Perl, rather by the underlying OS, so make sure your lib paths are setup up correctly.
So on linux libc.so.6 has to be in a path included by ld.so.conf. Normally it is not as easy as just copying the c-libs, as the platform has to be exactly the same, but it might work. But I guess you won't be able to write that file, so you can try to include a path with libc.so.6 and libc-2.1.3 by setting env LD_LIBRARY_PATH (does that work on linux?) Cheers +rl Maxim Goncharov wrote: >I s it possible? > >I've built DBI on Linux using for C++ parts lib.so.6(link to libc-2.1.3) >But i need to make work this bulit module on perl(5.6) installed on a >remote >machine(CGI_hosting) with no such libc. I have onle ftp-access to my >directory and have no oportunity to install packages remotely. > I've copied all these parts of the built DBI module to the remote >machine >including libc.so.6(i mean i made symlink) and libc-2.1.3 but i can't >make >perl see these libc >and i am getting such error: > >Can't load '.../my_directory/lib/auto/DBI/DBI.so' 'for module DBI: >Shared >object "libc.so.6" not found at >/usr/local/nf/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206. > at /my_directory/lib/DBI.pm line 182 > >Of_course i make in my scripts " usr lib '.../my_directory/lib'". > >Is it possible to make work? > > > > > > -- +rl ------------------------------------- Roland Lammel ------------------------------------- Services / Technical Assistance / PPA Kapsch CarrierCom Triesterstr. 70a, 1102 Wien ------------------------------------- mailto:[EMAIL PROTECTED] Tel: +43 1 60501 - 3456 (ESN 572 3456) Fax: +43 1 60501 - 3405 Mobil: +43 664 628 - 3456 -------------------------------------
