PDA

View Full Version : ISPConfig fails on clamwin


delgado2061
6th June 2010, 22:05
--------------------------------------------------------------------------------

I have ISPconfig-2.2.35 and it don't upgrade to 2.2.36 fail on the clamav installation I am running fedora 9 ISPConfig-2.2.35 so I run the ISPConfig-2.2.35 again them evevrything was back to normal. try to install the clamav newer version and it quits on me. so I have my server running back ISPConfig-2.2.35.



http://www.dcomputers.net/frm00001.jpg

Mark_NL
7th June 2010, 09:12
If you look closely, you'll notice the error
"cannot find -lstdc++
That means the installer/compiler can't find libstdc++

So install libstdc++ with your package manager, and start the installation again.

delgado2061
7th June 2010, 17:49
as you can see my is already install. I run the perfect server fedora 9 for year now. this never happen to any update. so the installation is looking somewhere else.


http://www.dcomputers.net/frm00002.jpg

Mark_NL
7th June 2010, 18:21
as you can see my is already install. I run the perfect server fedora 9 for year now. this never happen to any update. so the installation is looking somewhere else.


http://www.dcomputers.net/frm00002.jpg

I think you need to install the dev package as well

It's called "libstdc++devel" on fedora (i think)

delgado2061
7th June 2010, 18:33
no fedora package libstdc++devel or libstdc++-devel

delgado2061
7th June 2010, 19:26
the devel package is also install already. by looking on the first picture of this I don't have the subdirectory /ld I have /usr/bin but no ld subdirectory so the compile have to be looking on the wrong place.


http://www.dcomputers.net/frm00003.jpg

Mark_NL
8th June 2010, 00:23
http://unixhelp.ed.ac.uk/CGI/man-cgi?ld ;-)

ld is a linker, anyway .. i think you need to specify WHERE the libstdc files are .. maybe it's not on a place where clamav expects them to be .. check the ./configure --help command for that.

delgado2061
8th June 2010, 00:32
What I don't understand? I been updating from way back to version 2.2.24, 25, 26, 27 , 28, 29 , 30, 31, 32, 33, 34, to 2.2.35 clamav is in the same place for all other version. why this update is diferent with clamav. all other version had no problem installing the clamav on my ispconfig server .

Mark_NL
8th June 2010, 09:06
Same here, until some day clamav stopped working because the databases the update mirrors supplied where in a different layout, which resulted in everyone needed to update theire clamav core files. Whet i mean to say with this is that stuff can work for years and suddenly stop working.. ;)

Besides the fact that the installer should work, it's also very much suggested you start using ispconfig3 .. i've been running 2 for a long time and didn't want to switch, but i've migrated a few servers now and i can say i'm never going back to ispconfig2 .. with 3 i have way more control over what software i'm running (at least for me it's way cleaner then 2) ..

oke, all things aside, the installer can't find libstdc that's a fact, when the compiler is called with -lstdc++ it will start looking for the lib files it needs in the most common locations like /usr/lib/, /lib or /usr/local/lib .. if it can't find them you'll see the error you get. It's possible that those files are in a different location and you need to specify where those files are so the compiler can find them.

For libs you can use: LDFLAGS=-L<dir> ./configure ... <etc>
For header files (includes): CFLAGS=-I<dir>

So ehm, check and see if you have a file called libstdc++.so.* somehwere in:
/usr/lib, /lib or /usr/local/lib