-----Original Message-----
From: Ithiermontanez, Oscar I (Contractor)
Sent:
Friday, April 29, 2005 7:24 AM
To: '[EMAIL PROTECTED]'
Subject: Libiconv Loading

 

My final goal is to install Perl::DBI to interface with Sybase Database.

 

I was trying to install libincov, using the following commands:

 

# cd /usr/local/webspace/tmp/libiconv-1.8

# ./configure --prefix=/usr/local

# make

# make install

 

These are the results:

 

cd libcharset && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib' cd lib && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib' /bin/sh ./../autoconf/mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install ../autoconf/install-sh -c -m 644 libcharset.la /usr/local/lib/libcharset.la ../autoconf/install-sh -c -m 644 .libs/libcharset.so.1.0.0 /usr/local/lib/libcharset.so.1.0.0

(cd /usr/local/lib && rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1) (cd /usr/local/lib && rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so) chmod +x /usr/local/lib/libcharset.so.1.0.0

../autoconf/install-sh -c -m 644 .libs/libcharset.lai /usr/local/lib/libcharset.la ../autoconf/install-sh -c -m 644 .libs/libcharset.a /usr/local/lib/libcharset.a ranlib /usr/local/lib/libcharset.a chmod 644 /usr/local/lib/libcharset.a

----------------------------------------------------------------------

Libraries have been installed in:

   /usr/local/lib

 

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable

     during execution

   - use the `-RLIBDIR' linker flag

 

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

----------------------------------------------------------------------

if test -f /usr/local/lib/charset.alias; then \

  sed -f ref-add.sed /usr/local/lib/charset.alias > /usr/local/lib/t-charset.alias; \

  ../autoconf/install-sh -c -m 644 /usr/local/lib/t-charset.alias /usr/local/lib/charset.alias; \

  rm -f /usr/local/lib/t-charset.alias; \

else \

  if test no = no; then \

    sed -f ref-add.sed charset.alias > /usr/local/lib/t-charset.alias; \

    ../autoconf/install-sh -c -m 644 /usr/local/lib/t-charset.alias /usr/local/lib/charset.alias; \

    rm -f /usr/local/lib/t-charset.alias; \

  fi ; \

fi

/bin/sh ./autoconf/mkinstalldirs /usr/local/include autoconf/install-sh -c -m 644 include/libcharset.h /usr/local/include/libcharset.h cd lib && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib' if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local/lib ] ; then mkdir /usr/local/lib ; fi /bin/sh ../libtool --mode=install ../autoconf/install-sh -c -m 644 libiconv.la /usr/local/lib/libiconv.la ../autoconf/install-sh -c -m 644 .libs/libiconv.so.2.1.0 /usr/local/lib/libiconv.so.2.1.0 (cd /usr/local/lib && rm -f libiconv.so.2 && ln -s libiconv.so.2.1.0 libiconv.so.2) (cd /usr/local/lib && rm -f libiconv.so && ln -s libiconv.so.2.1.0 libiconv.so) chmod +x /usr/local/lib/libiconv.so.2.1.0 ../autoconf/install-sh -c -m 644 .libs/libiconv.lai /usr/local/lib/libiconv.la

----------------------------------------------------------------------

Libraries have been installed in:

   /usr/local/lib

 

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable

       during execution

   - use the `-RLIBDIR' linker flag

 

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

----------------------------------------------------------------------

if test -n "libiconv_plug.so"; then ../autoconf/install-sh -c -m 644 libiconv_plug.so /usr/local/lib/libiconv_plug.so.new && mv /usr/local/lib/libiconv_plug.so.new /usr/local/lib/libiconv_plug.so ; fi cd src && make install prefix='/usr/local' exec_prefix='/usr/local' libdir='/usr/local/lib' chmod 777 . if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local ] ; then mkdir /usr/local ; fi if [ ! -d /usr/local/bin ] ; then mkdir /usr/local/bin ; fi case "solaris2.8" in \

  hpux*) gcc  iconv.o -L/usr/local/lib -liconv /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -lc -R/usr/local/lib -o iconv;; \

  *) /bin/sh ../libtool --mode=link gcc  iconv.o /usr/local/lib/libiconv.la -L/usr/local/lib -lintl -L/usr/local/lib -liconv -lc -R/usr/local/lib -o iconv;; \ esac gcc iconv.o -o iconv  -L/usr/local/lib /usr/local/lib/libintl.so /usr/lib/lib/libiconv.so /usr/local/lib/libiconv.so -lc -R/usr/local/lib -R/usr/lib/lib -R/usr/local/lib -R/usr/lib/lib

gcc: /usr/lib/lib/libiconv.so: No such file or directory

*** Error code 1

make: Fatal error: Command failed for target `install'

Current working directory /usr/local/webspace/tmp/libiconv-1.8/src

*** Error code 1

make: Fatal error: Command failed for target `install'

 

 

Do you have any recommendations of how to fix the problem?

 

Thanks

 

Oscar

 

_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to