Portal Home > Knowledgebase > Articles Database > Apache and missing libiconv.so.2
Apache and missing libiconv.so.2
Posted by DataCentric, 11-08-2007, 02:30 AM |
Ok so after compiling apache and such (for DSO), I go to compile PHP (which utilized apxs) and I get a libiconv.so.2 shared library error - it cant find it. As you can see below, it clearly is present on the system.
I also ran an ldconfig to force it to update library location information, which I read on some other forums might help. As you can see the error also happens when I try to start apache, so trying to start apache after I ran that command seems to show me that it did nothing.
I'm considering just copying the library from /usr/local/lib to /usr/lib and so on just out of desperation. What can I do here? Thanks!
|
Posted by david510, 11-08-2007, 03:39 AM |
What does the following command return?
iconv --version
|
Posted by DataCentric, 11-08-2007, 03:41 AM |
Its 1.11. I ended up just copying that library from usr local lib to usr lib and it all worked out just fine .
|
Posted by david510, 11-08-2007, 04:00 AM |
As a note, you can also create symlinks as follows.
ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
|
Posted by DataCentric, 11-08-2007, 04:02 AM |
You know, good point. I have already made various symlinks tonight to combat other library issues. I don't know why I didn't for this one. I think I'm getting tired haha.
|
Add to Favourites Print this Article
Also Read