From: Sand P. <Phi...@sy...> - 2004-11-16 13:09:56
|
The problem accours during the compilation process of the perfchart.png. = Here's the Output: gcc -g -O2 -Wall -o .libs/perfchart.png perfchart.o cgi.o -L/usr/local/m= ysql-4.0.21-optimized 21-optimized/lib/mysql/libmysqlclient.so -lcrypt -lnsl -lglib-2.0 -lXpm -= lX11 /usr/lib/libjpeg g -lz -lgd -L/root/perfparse-0.103.1/libpp_mysql /root/perfparse-0.103.1/= libpp_mysql/.libs/lib 103.1/libpp_common /root/perfparse-0.103.1/libpp_common/.libs/libpp_commo= n.so -lm -Wl,--rpath mized/lib/mysql -Wl,--rpath -Wl,/usr/local/nagios/lib /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make[2]: *** [perfchart.png] Error 1 make[2]: Leaving directory `/root/perfparse-0.103.1/cgi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/perfparse-0.103.1' make: *** [all] Error 2=20 > -----Original Message----- > From: Ben Clewett [mailto:BCl...@pe...]=20 > Sent: Tuesday, November 16, 2004 2:03 PM > To: Sand Philipp; 'per...@li...' > Subject: Re: [Perfparse-users] Perfparse 103.1 compiling error >=20 > Sand Philipp wrote: > > Yes and No. when I run ldconfig -v, the lib is found saying:=20 > > libXpm.so.4 -> libXpm.so.4.11 I'm not sure what you meant=20 > with running the program..but when I execute the=20 > libXpm.so.4.11 it says "Segmentation fault" > > Not sure what that means, but sounds not very good :) >=20 > First problem solved, it would not segmentation fault if the=20 > lib was not found. :) >=20 > Your second problem is a little different. :( >=20 > Can you try and tie down what events cause the fault. Can=20 > you remind me which program is causing the fault, and how you=20 > are calling it? Can you -v or -h or --show_config before the fault? >=20 > If the --show_config works, can you check any referenced=20 > files are readable by the user running the program? >=20 > Regards, >=20 > Ben. >=20 > >=20 > >=20 > >>-----Original Message----- > >>From: Ben Clewett [mailto:BCl...@pe...] > >>Sent: Tuesday, November 16, 2004 1:19 PM > >>To: Sand Philipp > >>Cc: Yves Mettier; per...@li... > >>Subject: Re: [Perfparse-users] Perfparse 103.1 compiling error > >> > >>Hi, > >> > >>Try running > >> > >># ldconfig -v | more > >> > >>Can you see if the lib is found? If so, does the program run? > >> > >>Ben > >> > >> > >>Sand Philipp wrote: > >> > >> > >>>Hmm... > >>>I just had a look to my ld.so.conf...here it is: > >>>/usr/kerberos/lib > >>>/usr/lib/php4 > >>>/usr/X11R6/lib > >>>/usr/lib/qt-3.3/lib > >>> > >>>So, as far as I would understand this, the Path is already > >> > >>linked in > >> > >>>the right way... > >>>But why doesn't the ***** compiler find the packet? > >>> > >>>Any suggestions?=20 > >>> > >>>Thanks for the help so far! > >>> > >>>Philipp > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: Yves Mettier [mailto:yme...@li...] > >>>>Sent: Tuesday, November 16, 2004 11:50 AM > >>>>To: Sand Philipp > >>>>Cc: per...@li... > >>>>Subject: RE: [Perfparse-users] Perfparse 103.1 compiling error > >>>> > >>>> > >>>> > >>>> > >>>>>Sorry for beeing such a linux dummy... > >>>> > >>>>We all begin with few knowledge and learn more and more thanks to=20= > >>>>documentation and people who give their help :) > >>>> > >>>> > >>>> > >>>>>I just found the libXpm files > >>>> > >>>>... > >>>> > >>>> > >>>>>Installed package: xorg-x11-libs.i386 0:6.7.0-5 matches with > >>>>>/usr/X11R6/lib/libXpm.so.4 > >>>> > >>>>>Where do i have to link them, so that ld can find them?? > >>>> > >>>>On Linux, probably in /etc/ld.so.conf If you edit that file, run=20= > >>>>ldconfig after that to take the > >> > >>change into > >> > >>>>account. > >>>>On Linux and other systems, you also have the environment=20 > variable=20 > >>>>$LD_LIBRARY_PATH (same syntax as PATH). But prefer > >> > >>/etc/ld.so.conf for > >> > >>>>standard locations. > >>>> > >>>>Yves > >>>> > >>>>--=20 > >>>>- Homepage - http://ymettier.free.fr -=20 > http://www.logicacmg.com - > >>>>- GPG key - http://ymettier.free.fr/gpg.txt =20 > - > >>>>- Maitretarot - http://www.nongnu.org/maitretarot/ =20 > - > >>>>- Perfparse - http://perfparse.sf.net/ =20 > - > >>>> > >>>> > >>> > >>> > >>> > >>>************************************************ > >>> > >>>sycor plastics - die neue Branchenl=F6sung f=FCr die=20 > Kunststoffindustrie > >>> > >>>www.sycor-plastics.de > >>> > >>>************************************************ > >>> > >>> > >>> > >>> > >>>Diese E-Mail ist vertraulich und kann dar=FCber hinaus > >> > >>pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 > >>bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die E-Mai= l und=20 > >>deren Anh=E4nge sofort und benachrichtigen Sie uns dar=FCber. Die Fir= ma=20 > >>sycor willigt in keine Vertr=E4ge oder vertragliche=20 > Verpflichtungen ein=20 > >>oder =FCbermittelt rechtsverbindliche Angebote, die in Form=20 > von E-Mail=20 > >>versandt werden, sofern dies nicht ausdr=FCcklich in=20 > schriftlicher Form=20 > >>zwischen den Parteien vereinbart wurde. > >> > >>>This e-mail is confidential and may contain personal and/or > >> > >>privileged information. If you are not the intended=20 > recipient please=20 > >>delete this e-mail and all attachments immediately and=20 > inform us. The=20 > >>company sycor does not agree with contracts or contract obligations=20= > >>sent by e-mail, neither do we transmit legally binding offers by=20 > >>e-mail, unless this is not expressly agreed upon between=20 > the parties=20 > >>and documented in written form. > >> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS=20= > >>>DOWNLOAD - A multidimensional database that combines robust > >> > >>object and > >> > >>>relational technologies, making it a perfect match for > >> > >>Java, C++,COM, > >> > >>>XML, ODBC and JDBC. www.intersystems.com/match8=20 > >>>_______________________________________________ > >>>Perfparse-users mailing list > >>>Per...@li... > >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users > >>> > >> > >> > >=20 > >=20 > > ************************************************ > >=20 > > sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindust= rie > >=20 > > www.sycor-plastics.de > >=20 > > ************************************************ > >=20 > >=20 > >=20 > >=20 > > Diese E-Mail ist vertraulich und kann dar=FCber hinaus=20 > pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 > bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die=20 > E-Mail und deren Anh=E4nge sofort und benachrichtigen Sie uns=20 > dar=FCber. Die Firma sycor willigt in keine Vertr=E4ge oder=20 > vertragliche Verpflichtungen ein oder =FCbermittelt=20 > rechtsverbindliche Angebote, die in Form von E-Mail versandt=20 > werden, sofern dies nicht ausdr=FCcklich in schriftlicher Form=20 > zwischen den Parteien vereinbart wurde. > >=20 > > This e-mail is confidential and may contain personal and/or=20 > privileged information. If you are not the intended recipient=20 > please delete this e-mail and all attachments immediately and=20 > inform us. The company sycor does not agree with contracts or=20 > contract obligations sent by e-mail, neither do we transmit=20 > legally binding offers by e-mail, unless this is not=20 > expressly agreed upon between the parties and documented in=20 > written form. > >=20 > >=20 >=20 >=20 ************************************************ sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4nge= r sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und ben= achrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= rde. This e-mail is confidential and may contain personal and/or privileged in= formation. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor does n= ot agree with contracts or contract obligations sent by e-mail, neither d= o we transmit legally binding offers by e-mail, unless this is not expres= sly agreed upon between the parties and documented in written form. |