Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Identical build errors on 2 new FC4 boxes...

Discussion in 'General Discussion' started by 4u123, Feb 22, 2006.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    838
    Likes Received:
    14
    Trophy Points:
    168
    Can anyone suggest why I would get this apache build error on a fresh installation ? I've had the same happen on two new servers this week.

    The common error is this...

    make: *** [sapi/cli/php] Error 1
    make: *** Waiting for unfinished jobs....
    /usr/bin/ld: cannot find -lltdl
    collect2: ld returned 1 exit status
    make: *** [sapi/cgi/php] Error 1

    make php-4.4.1...(install).... . Done
    make: *** [sapi/cgi/php] Error 1


    Apache builds fine but PHP doesnt work. Ive removed the buildapache directory and tried again but get the same error.

    Is there something missing from the linux installation ?


    I dont know what lltdl is but ltdl is there...

    root@SERVER [~]# locate ltdl
    /var/cache/yum/updates-released/packages/libtool-ltdl-1.5.16.multilib2-3.i386.rpm
    /var/cache/yum/updates-released/headers/libtool-ltdl-1.5.16.multilib2-3.i386.hdr
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/acinclude.m4
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/README
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/Makefile.am
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/config-h.in
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/configure
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/aclocal.m4
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/configure.in
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/ltdl.c
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/ltdl.h
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/COPYING.LIB
    /home/cpapachebuild/buildapache/libmcrypt-2.5.7/libltdl/Makefile.in
    /usr/share/aclocal/ltdl.m4
    /usr/share/libtool/libltdl
    /usr/share/libtool/libltdl/install-sh
    /usr/share/libtool/libltdl/acinclude.m4
    /usr/share/libtool/libltdl/README
    /usr/share/libtool/libltdl/Makefile.am
    /usr/share/libtool/libltdl/config-h.in
    /usr/share/libtool/libltdl/missing
    /usr/share/libtool/libltdl/configure
    /usr/share/libtool/libltdl/configure.ac
    /usr/share/libtool/libltdl/aclocal.m4
    /usr/share/libtool/libltdl/config.sub
    /usr/share/libtool/libltdl/ltdl.c
    /usr/share/libtool/libltdl/config.guess
    /usr/share/libtool/libltdl/ltdl.h
    /usr/share/libtool/libltdl/COPYING.LIB
    /usr/share/libtool/libltdl/Makefile.in
    /usr/share/libtool/libltdl/ltmain.sh
    /usr/lib/libltdl.so.3
    /usr/lib/libltdl.so.3.1.1
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    4
    Trophy Points:
    193
    Location:
    Minneapolis, MN
    That means 'libltdl.so' doesn't exist on your server.

    Make a copy of this file with the following name:
    cp /usr/lib/libltdl.so.3 /usr/lib/libltdl.so
    re-compile Php and see if that works for you. If not, then you need to install fresh copy of libtool-libs.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    838
    Likes Received:
    14
    Trophy Points:
    168
    That did the trick, many thanks.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice