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!

/usr/bin/ld: cannot find -lresolv

Discussion in 'General Discussion' started by Ramsy, Aug 15, 2004.

  1. Ramsy

    Ramsy Guest

    Keep getting error below everytime when manual upgrading.
    It just can't seem to install Net::DNS.
    I can't seem to find anything on google to get a workaround this problem.
    Any idea's anyone ?

    Code:
    FreeBSD eclipse.crystalcore.nl 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Tue Nov 25 18:43:54 CET 2003     root@core.crystalcore.nl:/usr/src/sys/i386/compile/CRYSTALCORE  i386
    
    Code:
    cp lib/Net/DNS/RR/A.pm blib/lib/Net/DNS/RR/A.pm
    cp lib/Net/DNS/Resolver/Win32.pm blib/lib/Net/DNS/Resolver/Win32.pm
    cp lib/Net/DNS/RR/Unknown.pm blib/lib/Net/DNS/RR/Unknown.pm
    cp lib/Net/DNS/RR/EID.pm blib/lib/Net/DNS/RR/EID.pm
    cp lib/Net/DNS/RR/ISDN.pm blib/lib/Net/DNS/RR/ISDN.pm
    cp lib/Net/DNS/RR/MX.pm blib/lib/Net/DNS/RR/MX.pm
    cp lib/Net/DNS/Header.pm blib/lib/Net/DNS/Header.pm
    cp lib/Net/DNS/RR/SOA.pm blib/lib/Net/DNS/RR/SOA.pm
    cp lib/Net/DNS/RR/OPT.pm blib/lib/Net/DNS/RR/OPT.pm
    cp lib/Net/DNS/RR/NIMLOC.pm blib/lib/Net/DNS/RR/NIMLOC.pm
    cp lib/Net/DNS/RR/TXT.pm blib/lib/Net/DNS/RR/TXT.pm
    cp lib/Net/DNS/RR/DNAME.pm blib/lib/Net/DNS/RR/DNAME.pm
    cp lib/Net/DNS/RR/AAAA.pm blib/lib/Net/DNS/RR/AAAA.pm
    cp lib/Net/DNS.pm blib/lib/Net/DNS.pm
    cp lib/Net/DNS/RR/X25.pm blib/lib/Net/DNS/RR/X25.pm
    cp lib/Net/DNS/RR/RP.pm blib/lib/Net/DNS/RR/RP.pm
    cp lib/Net/DNS/Resolver/Recurse.pm blib/lib/Net/DNS/Resolver/Recurse.pm
    cp lib/Net/DNS/Resolver/Cygwin.pm blib/lib/Net/DNS/Resolver/Cygwin.pm
    cp lib/Net/DNS/RR/PTR.pm blib/lib/Net/DNS/RR/PTR.pm
    cp lib/Net/DNS/RR/NS.pm blib/lib/Net/DNS/RR/NS.pm
    cp lib/Net/DNS/RR/TSIG.pm blib/lib/Net/DNS/RR/TSIG.pm
    cp lib/Net/DNS/Update.pm blib/lib/Net/DNS/Update.pm
    cp lib/Net/DNS/Resolver.pm blib/lib/Net/DNS/Resolver.pm
    cp lib/Net/DNS/RR/PX.pm blib/lib/Net/DNS/RR/PX.pm
    cp lib/Net/DNS/Nameserver.pm blib/lib/Net/DNS/Nameserver.pm
    cp lib/Net/DNS/RR/NULL.pm blib/lib/Net/DNS/RR/NULL.pm
    cp lib/Net/DNS/RR/LOC.pm blib/lib/Net/DNS/RR/LOC.pm
    cp lib/Net/DNS/RR/SRV.pm blib/lib/Net/DNS/RR/SRV.pm
    cp lib/Net/DNS/RR/RT.pm blib/lib/Net/DNS/RR/RT.pm
    cp lib/Net/DNS/RR/AFSDB.pm blib/lib/Net/DNS/RR/AFSDB.pm
    cp lib/Net/DNS/RR/MINFO.pm blib/lib/Net/DNS/RR/MINFO.pm
    cp lib/Net/DNS/RR/MR.pm blib/lib/Net/DNS/RR/MR.pm
    cp lib/Net/DNS/FAQ.pod blib/lib/Net/DNS/FAQ.pod
    cp lib/Net/DNS/RR/CNAME.pm blib/lib/Net/DNS/RR/CNAME.pm
    cp lib/Net/DNS/Question.pm blib/lib/Net/DNS/Question.pm
    cp lib/Net/DNS/RR/SSHFP.pm blib/lib/Net/DNS/RR/SSHFP.pm
    cp lib/Net/DNS/RR/NAPTR.pm blib/lib/Net/DNS/RR/NAPTR.pm
    cp lib/Net/DNS/Packet.pm blib/lib/Net/DNS/Packet.pm
    cp lib/Net/DNS/RR.pm blib/lib/Net/DNS/RR.pm
    cp lib/Net/DNS/RR/HINFO.pm blib/lib/Net/DNS/RR/HINFO.pm
    cp lib/Net/DNS/RR/MG.pm blib/lib/Net/DNS/RR/MG.pm
    cp lib/Net/DNS/RR/TKEY.pm blib/lib/Net/DNS/RR/TKEY.pm
    cp lib/Net/DNS/RR/NSAP.pm blib/lib/Net/DNS/RR/NSAP.pm
    cp lib/Net/DNS/RR/CERT.pm blib/lib/Net/DNS/RR/CERT.pm
    cp lib/Net/DNS/Resolver/UNIX.pm blib/lib/Net/DNS/Resolver/UNIX.pm
    cp lib/Net/DNS/RR/MB.pm blib/lib/Net/DNS/RR/MB.pm
    cp lib/Net/DNS/Resolver/Base.pm blib/lib/Net/DNS/Resolver/Base.pm
    /usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap  DNS.xs > DNS.xsc && mv DNS.xsc DNS.c
    cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O    -DVERSION=\"0.48\"  -DXS_VERSION=\"0.48\" -DPIC -fPIC "-I/usr/lib/perl5/5.8.3/i386-freebsd/CORE"   DNS.c
    Running Mkbootstrap for Net::DNS ()
    chmod 644 DNS.bs
    rm -f blib/arch/auto/Net/DNS/DNS.so
    LD_RUN_PATH="/usr/lib" cc  -shared  -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/DNS.so   -lresolv   
    /usr/bin/ld: cannot find -lresolv
    *** Error code 1
    
    :eek:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    #2 casey, Aug 15, 2004
    Last edited: Aug 15, 2004
  3. Ramsy

    Ramsy Guest

    manual compile with options --no-xs did the trick
     
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