libgd error after upgrade.

Hey everybody.

Today I ran the following on my webserver. php55. As always.

portsnap fetch update then portmaster -Da.

I was told gd was going to be replaced with libgd, thought it was a bit strange, but went along with it.

Now that I try to start nginx I get the following message.
Code:
Shared object "libgd.so.4" not found, required by "nginx"

And nginx will not start. I assumed this was a php extension, so I tried to change the extension from gd.so to libgd.so, but still the same problem.

Does any of you have any clues on what is going on and how to fix it?
 
It's probably a PHP add on module that is depending on graphics/gd but has not been yet recompiled to use the new libgd.so.4 library. See which installed PHP packages are depending on graphics/gd and recompile them.
 
DutchDaemon: I am very sorry. But English is not my native language. [ That is no excuse to not even try proper forum formatting; like in this post. Moreover: every mistake you make is addressed in the forum rules and guidelines, so you should read them -- Mod. ]

@kpa, thx thanks very much. I tried that. I am not sure I did it right. I did this: /usr/ports/graphics/gd # make all-depends-list. Output:
Code:
/usr/ports/devel/pkgconf
/usr/ports/graphics/jpeg
/usr/ports/graphics/tiff
/usr/ports/graphics/png
/usr/ports/print/freetype2
/usr/ports/x11-fonts/fontconfig
/usr/ports/converters/libiconv
/usr/ports/devel/libtool
/usr/ports/graphics/jbigkit
/usr/ports/devel/cmake
/usr/ports/devel/gmake
/usr/ports/textproc/expat2
/usr/ports/devel/cmake-modules
/usr/ports/devel/gettext

Which was rather strange since the gd package is mainly used with PHP. Then I ran make config and make reinstall clean on each of them. But gd or libgd was not among the options when recompiling. So this did not help. Nginx still will not start.

I feel it might be a good idea to recompile php55 as well. But I'm not sure I did the above steps correctly. Also the gd package seems unneeded and maybe it should be removed. I am not sure.
 
Last edited by a moderator:
Thanks @kpa. It is the first time I hear of reverse dependencies. The nginx recomplile did the trick. Working smoothly now. SOLVED.
 
Last edited by a moderator:
Back
Top