Red Hat / Fedora :: Ffmpeg-php And Gd Module Loading / Unable To Load Dynamic Library?
Jan 19, 2010
fedora 12 with php 5.3.1 + apache is installed on the server
I needed a FFMPEG + MENCODER + FFMPEG-PHP setup , so I have installed all of the necessary libraries/codecs along with ffmpeg , mencoder and ffmpeg-php
I've added ffmpeg-php (ffmpeg.so) module to php.ini and restarted httpd
But ffmpeg was not showing up in phpinfo() so I grepped : php -i | grep ffmpeg
for some clues and got this warning
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0
That error explains why ffmpeg is not loading
Obviously something to do with GD library , so I've researched on the net , and found that some users suggest loading the GD module before FFMPEG module.
I gave it a try and added this at the end of php.ini:
Code: [gd]
;loading gd
extension=gd.so
[ffmpeg]
;loading ffmpeg
extension=ffmpeg.so ...but still same error when greping phpinfo()
On a number of sites I use PHP's snmpget() function, but now on all these I just get this error: PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - libnetsnmp.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Call to undefined function snmpget()
I have installed oci8 from the remi repo and can not get it to work.I have been trying all day but still end up with the same error in my apache error log when I start httpd.If anyone can suggest something more I can try or where I should look next that would be nice.In the mean time I am going to build a VM and try from a fresh install and see what happens.
I keep getting mails with this warning on my 11.04 server
Code: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysql.so' - /usr/lib/php5/20090626/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
apparently everything is working as it should and I don't know how to get rid of this warning
I recently upgraded to php 5.2 using the testing repository. All went well except for one extension.
root@clibweb2 ~]# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules//usr/lib64/php/modules/http.so' - /usr/lib64/php/modules//usr/lib64/php/modules/http.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies [root@clibweb2 ~]#
I tried: [root@clibweb2 ~]# ln -s /usr/lib64/php /usr/lib/php Adding the complete path to php.ini And using PECL I still get the error. Output of getinfo.sh (general) is at [URL] The Package specific is at [URL]
few days ago i installed the newest opensuse 11.4 32bit system and all is working really fine.except when starting apache or doing a php -v on the CLI i receive the following error ->
php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/intl.so' - /usr/lib/php5/extensions/intl.so: undefined symbol: grapheme_extract_count_iter in Unknown on line 0
i know this bug has been reported earlier and i found quite a few results in google.i even found one result where the problem was fixed and updated in an additional opensuse repository -> Additional package repositories - openSUSE the repository with the fix is the following -> Index of /repositories/server:/php/openSUSE_11.4 so ... i added this repository via YAST to the repositories in my system without any problems but whenever i do a system update via YAST i don't receive new fixes and patches from the newly added repository!
if i directly browse to the /i586 folder in the repository i see all the PHP updates with version 5.3.7 and the latest updates were done 19 aug 2011 Index of /repositories/server:/php/openSUSE_11.4/i586 but my system still has PHP version 5.3.5 installed and somehow doesn't want to update from the newly added repository for the apache php modules so ... i just double checked and the repository is enabled in YAST ... but I still don't receive updates from there i would like to update to the new apache php modules, to get rid of that php '/usr/lib/php5/extensions/intl.so' warning, but somehow that doesn't seem to work
After upgrading my server from 10.04 to 10.10 I keep getting the following php error, "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/syck.so' - /usr/lib/php5/20090626+lfs/syck.so: cannot open shared object file: No such file or directory in Unknown on line 0"
im trying to install the driver for my nvidia GeForce 7300 GS.i have Fedora 12 installed in an Intel duo core 2 processor 64 bits.kernel installed is 2.6.31.5-127.fc12.x86_64...i followed leigh's guide i did the 4 steps but after reboot screen goes blanck and X dont work.the log says:
-> Kernel module load error: insmod inserting './usr/src/nv/nvidia.ko' -1 no such device
How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.
I am using ubuntu 9.10,when i bootup my system, it gives the error that "You are using very low level of grapics and system is unable to load module i810; solution how to fix it
I am running squeeze on a PC 1386 and installed nvidia by using the packages in unstable. I was able to install nvidia and there was no error until the time I started X. The error is unable to load module "nvidia" (module does not exist, 0).
I looked up the log for Xorg and it says Unloadable Module "nvidia".
I spent the entire 24 hours to fix it because this is my office computer and I practically done all the stuff found in the forums. I already did nvidia-xconfig to no avail. I even edited xorg.conf manually and still it was not up.
I have some suspects however which are:
1. Different versions between kernel and nvidia (but since I did it the debian way then I should not have any problems).
2. Nvidia-glx is unusable in Squeeze, so does it mean I go for the unstable distro?
3. Or I miss something crucial on how I installed it?
By the way, I installed Nvidia because I am using a SAMSUNG 21' LED monitor.
for the last few releases, starting with 9.04 i've been having serious crashing problems with the nvidia driver. whether i installed it manually using the latest drivers directly from nvidia, or installing them through the restricted driver option. after a few hours CRASH. it's been awful. and i tried everything from this side to the moon to fix this issue, all to no avail. no idea why i've even stayed with ubuntu after all these issues. came from the debian world back in 5.04, and almost moved back a few times. but i did a clean install of 10.04, and thought i'd give the nvidia driver one last chance... if it didn't work i'd be moving back home to debian (with the suspicion the issue would stay).
so after i tried the restricted driver and CRASH. nothing to fix it. then i thought ok i'll try to use the latest driver from nvidia. but ran into this error when installing it:
Quote: ERROR: Unable to load the kernel module nvidia.ko. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release. so after googling around i found a fix to this error i was getting during the install:
Quote: sudo nano /etc/modprobe.d/blacklist.conf
blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv
When opening gedit as a user I get the following message
Gkt-message: Failed to load module "'pk-gtk-module"
If I try to open gedit as root I get the same message but with other messages. These are shown in the attached file. gtk.txt
This is on an upgraded machine using the preupgrade method. The same has happened on two machines upgraded from F14 to F15 the same way. 64 bit systems.
How to clean this up so the messages do no appear?
I use Audacity quite a lot for conversion of a voice recorder, to convert WMA to FLACWhen I used it Mar 24 it worked, when used it Mar 26 it didn't.I used the locate pointed it to libavcodec.so.52 like it had there & it tells me it can't find it! At first I thought it was an update I'd done from the Packman reposonly when I went to Yast to revert only the most recent update was in there, no prior versions. Yet I Know that ffmpeg was among the updates it was blue when I did it then.Other distro's don't have this problem only Suse who or where or what should I do so that Audacity works in Suse again?
I am trying to use a shared bzip2 library in a program I'm writing. For the life of me I can't figure out the correct gcc switch to link it in. I've tried pkg-config, but i don't know the name of the .pc file. Is there any rule for these things?
Why the thread stack size can not be changed after calling pthread_attr_setstacksize & pthread_create in a dynamic library? Detail: I write a file thread_factory.c and plan to build it and produce a dynamic library (libthread_factory.so) In the thread_factory.c , there is a routine
[Code]....
And after this, there is application, it will call fct_thread_create(STACK_SIZE_256KB), and then call pthread_attr_getstacksize(), but the stack size return always be a fixed value 0xa01000. (I tried this on Fedora12) But if I build the application source code with the file thread_factory.c directly, the stack size return is right as my expect. I checked the source code of glibc about the routine pthread_create() as below:
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
I rebooted my computer and noticed the aoe module didn't loadad to do a modprobe aoe)What's the proper way to have this start at boot time? (rather than something like doing a modprobe aoe in the rc.local
Just installed F11 and found out I cannot load an external security device in Firefox - the dialogue window does not work (Edit - Preferences - Advanced - Security Devices - Load, then the OK button does nothing!). This means you cannot use Firefox (i.e. cannot use F11 at all) if you need to log in through a web page or sign web transactions/documents using a smart card or any other crypto token.
I can't believe somebody released F11 with a browser that crippled! Moreover, this issue has been reported to Mozilla in April, but they did nothing until a second report in late May made them finally realize what they have done... and still Fedora team decided to go for it! Read here for details: [URL]
how to fix this, or may be an idea when F11 will update Firefox (Mozilla has provided a quick fix for the problem)? I don't want to wait until 3.5 final release, which may be months ahead -- and I certainly don't want to recompile the whole Mozilla stuff by myself -- neither I want to mess up with a downgrade of the browser, or a second installation of a 3.0 version with different prefix.
this is my first post i have this error in ./configure for bind 9.7.3: checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/includechecking whether linking with OpenSSL works... yeschecking whether linking with OpenSSL requires -ldl... unknown configure: error: OpenSSL has unsupported dynamic loading
I've been unable to boot into x using the real-time kernel from CCRMA at home. I get the error "Failed to load module "nvidia" (module-specific error,0) no drivers available. I'm using the driver from Nvidia. I know that this is not an official Fedora kernel and I should be bothering CCRMA about this, but in the mean time could I edit the entry in grub.conf so that it will use the Nouveau driver for that kernel only? That way I could "dual-boot", and just use the rt kernel when I want to use audio software and don't need 3d graphics.
I've recently installed a RedHat Enterprise Linux server and am attempting to get PHP/MySQL installed on it. It cannot load the dynamic php mysql module, giving me an error (in /var/log/error_log) that reads as follows:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: executor_globals in Unknown on line 0
(In fact, it fails to load ALL of the dynamic php modules, either with the "undefined symbol: executor_global" or "undefined symbol: core_globals" I DO NOT WANT to compile anything -- I want to stay with stock RedHat released software.
[root@hostname-suppressed httpd]# uname -a Linux hostname-suppressed 2.6.18-194.17.4.el5PAE #1 SMP Wed Oct 20 13:13:33 EDT 2010 i686 athlon i386 GNU/Linux [root@hostname-suppressed httpd]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga)
I think I know quite well what my problem is. However, I'm still too much of a newbie to know how to solve it.My problem: I no longer get a login screen on my server after I ran a yum update which updated my kernel (thank god, vnc server still works).Cause: During startup Fedora complains that it can't load the module nvidia.ko. Reason: The module doesn't match the current kernel.