You are not logged in.

#1 2009-01-18 02:47:51

methuselah
Member
Registered: 2007-10-02
Posts: 570

Building error. I'm missing libhx509.so.3[SOLVED]

I been trying to build Firefox 3.1b2


I get this same error after an hour of building:

convert: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory

I don't have that version and am not sure on how to get libhx509.so.3

[seventy3@HPdv9920us ~]$ locate libhx509.so
/usr/lib/libhx509.so
/usr/lib/libhx509.so.4
/usr/lib/libhx509.so.4.0.0

So how can I fix this? Do I need to build an old version of heimdal or something else? Or can I make a symlink pointing to the right place? (I'm not very experienced whit these things)

Last edited by methuselah (2009-01-19 21:07:48)

Offline

#2 2009-01-18 03:09:57

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Two solutions. You could symlink libhx509.so.4.0.0 to libhx509.so.3 (inelegant, may result in future breakage), or you could looks through the Makefiles for Firefox, and replace all instances of libhx509.so.3 with libhx509.so.

Offline

#3 2009-01-18 03:27:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Looks like imagemagick was rebuilt against and old heimdal.

Edit: make sure you system is up to date.  On my system convert is linked to the new libhx509 and works just find

Offline

#4 2009-01-18 05:15:55

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Allan wrote:

Looks like imagemagick was rebuilt against and old heimdal.

Edit: make sure you system is up to date.  On my system convert is linked to the new libhx509 and works just find

I have a fully updated system. I use pacbuilder to build everything from source and I hope that isn't messing something up.


I update regularly because I prefer pacbuilder to build a few packages every other day rather than a whole bunch of packages at once.

Offline

#5 2009-01-18 05:33:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Rebuild imagemagick then.

Offline

#6 2009-01-18 05:42:57

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Allan wrote:

Rebuild imagemagick then.

First thing I wanted to do was to say was thank you both for the help.


I did just try to rebuild imagemagick with pacbuilder and I got an error.


So I reinstalled using the binary from pacman. Will that work the same? (I was impatient and didn't feel like editing the PKGBUILD or finding out why it gave me an error)


I also just symlinked /usr/lib/libhx509.so.3 to /usr/lib/libhx509.so.4.0.0 and I'm trying to build the firefox-pgo-beta 3.1b2-1 again. (just to see if that works because all it's trying to do is reach that shared library right?)

Offline

#7 2009-01-18 05:47:17

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: Building error. I'm missing libhx509.so.3[SOLVED]

methuselah wrote:

I did just try to rebuild imagemagick with pacbuilder and I got an error.

So I reinstalled using the binary from pacman. Will that work the same? (I was impatient and didn't feel like editing the PKGBUILD or finding out why it gave me an error)

That should fix be fine

methuselah wrote:

I also just symlinked /usr/lib/libhx509.so.3 to /usr/lib/libhx509.so.4.0.0 and I'm trying to build the firefox-pgo-beta 3.1b2-1 again. (just to see if that works because all it's trying to do is reach that shared library right?)

Symlinking libraries is really, really bad and can cause near untraceable errors on your system.  Do yourself a favour and remove the symlink.

Offline

#8 2009-01-18 05:52:53

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: Building error. I'm missing libhx509.so.3[SOLVED]

Allan wrote:
methuselah wrote:

I did just try to rebuild imagemagick with pacbuilder and I got an error.

So I reinstalled using the binary from pacman. Will that work the same? (I was impatient and didn't feel like editing the PKGBUILD or finding out why it gave me an error)

That should fix be fine

methuselah wrote:

I also just symlinked /usr/lib/libhx509.so.3 to /usr/lib/libhx509.so.4.0.0 and I'm trying to build the firefox-pgo-beta 3.1b2-1 again. (just to see if that works because all it's trying to do is reach that shared library right?)

Symlinking libraries is really, really bad and can cause near untraceable errors on your system.  Do yourself a favour and remove the symlink.

Sure thing, I'll do that now. Thanks again.

Offline

#9 2009-01-18 11:19:40

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Building error. I'm missing libhx509.so.3[SOLVED]

When you use pacbuilder to rebuild your system for every upgrade, you need to be sure you build things in the right order. Sometimes we rebuild a package for an update of some library like libhx509.so.x, where the rebuild links against the new library. When you use pacbuilder to just build the package from extra, but don't have the new heimdal package installed yet, it will link to the old version and will break anyways when upgrading to the new heimdal package.

Offline

#10 2009-01-18 16:54:14

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: Building error. I'm missing libhx509.so.3[SOLVED]

JGC wrote:

When you use pacbuilder to rebuild your system for every upgrade, you need to be sure you build things in the right order. Sometimes we rebuild a package for an update of some library like libhx509.so.x, where the rebuild links against the new library. When you use pacbuilder to just build the package from extra, but don't have the new heimdal package installed yet, it will link to the old version and will break anyways when upgrading to the new heimdal package.

I use this command when upgrading from pacbuilder:

sudo pacbuilder -Subkve

I have noticed that when some packages have the updated ABS PKGBUILD, other packages in the same upgrade list (the same list that is in regular pacman -Syu)..... will only have the old ABS tree's PKGBUILD version, and the new version won't show up in the ABS tree until the next day or even the day after that (I always sudo abs before every upgrade)......


I normally don't run into too many problems with pacbuilder.... this was one of them, and the python2.6 upgrade was another time I had a bunch of breakages and had to rebuild everything that was in my old python2.5 site-packages directory into my python2.6 site-packages (like the Fusion Icon and pygtk and it's deps)....


I guess I could do a "pacbuilder --world" build again to make sure everything is built together.... it's been about 4 months of using pacbuilder.


And to finish up on this thread. I was able to build the firefox-pgo-beta 3.1b2-1 AUR package after I did that symlink and re-installed Imagemagick..... I'm not sure which one worked..... but I have deleted that link now and will try to build firefox-pgo-beta 3.1b2-1 again just to see what fixed it for me.


.... and "firefox-pgo-beta 3.1b2-1" is blazing fast! (feeling faster than epiphany-webkit, midori-webkit, and firefox-optimized).

Last edited by methuselah (2009-01-18 16:56:04)

Offline

#11 2009-01-19 20:11:43

webjdm
Member
Registered: 2008-07-05
Posts: 17

Re: Building error. I'm missing libhx509.so.3[SOLVED]

methuselah wrote:

I have noticed that when some packages have the updated ABS PKGBUILD, other packages in the same upgrade list (the same list that is in regular pacman -Syu)..... will only have the old ABS tree's PKGBUILD version, and the new version won't show up in the ABS tree until the next day or even the day after that (I always sudo abs before every upgrade)......

Same noticed.:/

Offline

Board footer

Powered by FluxBB