Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
BEFORE YOU ANSWER PLZ READ ON !!!
i read posts from this forum about instaling gd library and instaling libX missing packets.
my problem is this i have 2 directories
/usr/lib AND /usr/lib64
all packets was installed in /usr/lib directory
i got symbolic link libX11.so.6 > in directory /usr/lib
my php looks for it in /usr/lib64 and dont find it.
php extensions are in /usr/lib64 so i presume they are 64 bit application.
when i make symbolic link from
/usr/lib64/libX11.so.6 => /usr/lib/libX11.so.6.2.0 (slackware 13) i got this error
Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: wrong ELF class: ELFCLASS32 in Unknown on line 0
so i think it needs 64 bit version of libX11 library or what?
on istalation cd i did not find any 64 bit version of this packets.
plz help
Last edited by moherpower; 12-05-2011 at 04:55 PM.
downloaded from internet. oryginally there was no gd support in PHP. I did not want to recompile. i read (i dont know on what forum) that i can download gd.so file and do some changes in php.ini file and all will be working.
Last edited by moherpower; 12-05-2011 at 05:05 PM.
no i dod not made full install. this server was ment to be only fileserver. so i installed only nesesery files no X, and i did not care about proper apache, PHP configuration. after fiuev months plans was changed by my boss and now i have to solve this. cant clean all and reinstall. to much to explain but i have to find the way to force it work.
Last edited by moherpower; 12-05-2011 at 05:18 PM.
i downloaded gd-2.0.35-i486-4.txz
but still have thesame problem
php -m
PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
what packages else should i install?
----edit
ok i see the problem wrong package ... i will report back when i take 64 bit version :P
Last edited by moherpower; 12-05-2011 at 05:33 PM.
ok it looks like it works now.
i had to install all the libX packages 64bit wersions too.
thx for guidience. in my country is 1 past midnight and i work on this stupid server from 20 hours to upgrade soft for new role. that is why i dont think clearly right now but i should have think of reinstaling packages from 64 bit version by my self:P
once again thx.
Last edited by moherpower; 12-05-2011 at 06:01 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.