Re: problem with ld-elf.so.1

From: Kent Stewart (kstewart_at_owt.com)
Date: 12/24/03

  • Next message: hymette_at_wanadoo.fr: "Re: problem with ld-elf.so.1"
    To: hymette@wanadoo.fr
    Date: Wed, 24 Dec 2003 10:36:25 -0800
    
    

    On Wednesday 24 December 2003 06:31 am, hymette@wanadoo.fr wrote:
    > I've done what you said and could rebuild some packages including
    > gettext and pkgconfig but the previous error message remains for
    > applications running ld-elf. For example gkrellm - which I could
    > rebuild easily - still aborts at runtime with "ld-elf.so.1 : Shared
    > object libintl.so.4 not found". There is no way to install gkrellm2
    > (because of pango complaining "ld-elf.so.1 :
    > /usr/X11R6/lib/libfontconfig.so.1: Undefined symbol
    > "FT_Get_BDF_Property""). Mozilla does not work nor build anew either.
    > Mozilla-devel aborts during configure warning it does not find
    > libraries and asking to setenv PKG_CONFIG_PATH, which does not help.
    >
    > The other applications seem to work well.
    > I think also that I made errors with pkgdb -F .
    >
    >
    > Is there a way to fix this ?
    >
    > Do you think that a portupgrade of all packages could help ?
    > How would I recover the correct dependency lists if I corrupted them
    > with pkgdb -F?

    You are in a situation I have never faced. I have done a
    portupgrade -pufa
    before. I have also seen people use something like -rRa. What will work
    depends on what you have installed, what you have messed up using pkgdb -F,
    and what you will put up with while it is upgrading. On my AMD 2400+ XP, a
    full upgrade of my ports takes a long time.

    When the default went to XFree86-4, I deleted all of the packages and did meta
    port builds and installs of XFree86 and KDE. The build machine spent most of
    the whole day doing this. Topaz, which is the machine I am typing this on,
    wasn't affected until ruby finished building everything. I ftped all of the
    packages from /usr/ports/packages/All, deleted what I had installed on topaz,
    and did meta-port pkg_add from the ../All directory on topaz. Topaz wasn't
    down very long.

    FWIW, I don't believe in building cvsup. It is one port that I use the
    package. The modula library requires too much computer time to build and
    isn't needed by any other port.

    >
    > In the worse case how could I get rid of all my ports and pkgs and
    > rebuild them from scratch without messing the system ?

    You never want to mix the two. If something goes wrong, you don't have any
    idea what broke it. Did you upgrade to 4.9-release?

    If you have finished upgrading to 4.9, I don't think it is part of the problem
    right now. You just have to catch your ports up to what is current and a full
    portupgrade might work. I think I would include the "f" option to force the
    builds.

    Your ports include libraries from the system and you want to upgrade these to
    4.9 anyway and a full upgrade would do that. You may just have to build a few
    manually. I always use "portupgrade -puf port" because I will use the package
    on my other systems.

    If your port structure is equivalent to 4.9-release, you could update much
    faster using ftp to grab packages from freebsd.org. It all depends on your
    network connection speed. The last time I looked at packages/All on my
    freebsd.org mirror, they were all dated 11 November. Man portupgrade talks
    about using "portupgrade -aPPR" to do a massive network binary upgrade. You
    need some feedback from someone who has done this. I run 4.9-stable and it
    can never find a package for -stable and fetches the distfiles and builds the
    port.

    What ever you do, upgrade portupgrade and its dependancies first. The current
    version will fix most bad situations that you would have had to delete
    packages and re-add them before. You may still have to do that because you
    have a corrupted setup.

    Kent

    >
    > > On Wednesday 24 December 2003 12:47 am, hymette@wanadoo.fr wrote:
    > >> Hi,
    > >>
    > >> I've been upgrading from 4.7 to 4.9 recently. Unfortunately I forgot
    > >> to
    > >> make world for a while , after having cvsuped (sys and ports). In the
    > >> meantime I installed several ports and things were not going too bad ,
    > >> but in some cases I had to ignore error messages (e.g. with Qt). It's
    > >> after having tried to ugdate pkgconfig without success that I realized
    > >> my errors. The port refuse to install and several applications that
    > >> use
    > >> ld-elf.so.1 abort complaining "Shared object lib***.so.4 not found",
    > >> where *** can be "SDL", "intl", for instance.
    > >>
    > >> Now I used "make world" correctly but this failure persists. I'm
    > >> afraid
    > >> many ports won't work well or even install. What can I do?
    > >>
    > >> Thank you in advance and merry Christmas!
    > >
    > > I don't know what the SDL is but libintl.so.4 was created by an old
    > > version of
    > > gettext. The current version produces .so.5. You need to rebuild all
    > > of them.
    > > I image SDL is also one of your out of date references.
    > >
    > > Kent
    > >
    > > --
    > > Kent Stewart
    > > Richland, WA
    > >
    > > http://users.owt.com/kstewart/index.html

    -- 
    Kent Stewart
    Richland, WA
    http://users.owt.com/kstewart/index.html
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: hymette_at_wanadoo.fr: "Re: problem with ld-elf.so.1"

    Relevant Pages

    • Re: Upgrading to 7.0 - stupid requirements
      ... >> matter what I do with the packages, ... >> after upgrade to a new version. ... It passed two days from portupgrade -faP, ... upgrading the installed ports: ...
      (freebsd-stable)
    • Re: hosed the jdk15 port in the pkg db
      ... > had several new packages listed with security issues. ... > jdk1.5 and portupgrade. ... > majority of packages to upgrade a little at a time. ... > They all went off without a hitch, except for the jdk15 port. ...
      (freebsd-questions)
    • Re: Will 5.4 be an "Extended Life" release?
      ... >>security updates for packages using sysinstall is a total lose. ... > I've never gotten portupgrade to work properly. ... > in that when you upgrade all of your ports and then decide to deinstall one, ...
      (freebsd-stable)
    • Re: Pkgupgrade
      ... packages than portupgrade or portmaster, so i have called it pkgupgrade. ... saw that it only wanted to upgrade 25 packages and 10 ports, ... shows that 112 ports need updating. ...
      (comp.unix.bsd.freebsd.misc)
    • Experience and thoughts on updating all ports (was Updating all ports)
      ... I just upgraded my laptop from kde 3.5.1 taking a shot at using portupgrade and/or portmanager. ... They depend on the ports tree and/or packages to accurately define requirements and dependencies. ... Further, if you run kde, the interactions of dependencies are hopelessly complex. ... My plan of attack was to remove kde and OpenOffice and try to upgrade the remaining ports/packages. ...
      (freebsd-questions)