[opensuse] make error due to library incompatibility
Hi SuSE experts, I am running SuSE 11.1 I'd like to get some help at completing the installation of a scientific library taht I downloaded from http://www.tbi.univie.ac.at/RNA/. The compressed archive comes with all the istallation steps taht are outlined on http://www.tbi.univie.ac.at/RNA/INSTALL.html. During the make phase of the installation procedure I got the following error that I cannot interpret: g++ -g -O2 -L../g2-0.70 -L../../lib -o RNAforester Arguments.o glib.o main.o ppforestbase.oprogressive_align.o rna_profile_alignment.o rna_alignment.o rna_algebra.o rna_alphabet.o rnaforest.o rnaforestsz.o rnafuncs.o rnaforester_options.o wmatch.o -lg2 -lRNA /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: skipping incompatible ../g2-0.70/libg2.a when searching for -lg2 /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2 collect2: ld returned 1 exit status make[4]: *** [RNAforester] Error 1 make[4]: Leaving directory `/home/mauede/Desktop/ViennaRNA-1.8.3/RNAforester/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mauede/Desktop/ViennaRNA-1.8.3/RNAforester' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mauede/Desktop/ViennaRNA-1.8.3/RNAforester' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mauede/Desktop/ViennaRNA-1.8.3' make: *** [all] Error 2 I see there is a library incompatibility that I do not know how to make up for. Any suggestion to get me out of this stalemate is very welcome. Thanks in advance, Maura -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Maura Monville wrote:
The compressed archive comes with all the istallation steps taht are outlined on http://www.tbi.univie.ac.at/RNA/INSTALL.html.
During the make phase of the installation procedure I got the following error that I cannot interpret:
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2
The installation instructions include this helpful statement: "To compile RNAforester you'll need to first install the g2 graphic library, then run configure with the --with-forester option." Which repository did you get g2 from, I don't see it in the standard ones? Or did you compile it yourself, in which case showing us the build log for that would be helpful. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/09/09 09:50, Maura Monville wrote:
During the make phase of the installation procedure I got the following error that I cannot interpret:
g++ -g -O2 -L../g2-0.70 -L../../lib -o RNAforester Arguments.o glib.o main.o ppforestbase.oprogressive_align.o rna_profile_alignment.o rna_alignment.o rna_algebra.o rna_alphabet.o rnaforest.o rnaforestsz.o rnafuncs.o rnaforester_options.o wmatch.o -lg2 -lRNA /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: skipping incompatible ../g2-0.70/libg2.a when searching for -lg2 /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2 collect2: ld returned 1 exit status
You have an incompatible libg2 in directory ./g2-0.70/, you have to rebuild it properly. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
--- Gio 10/9/09, Cristian Rodríguez <crrodriguez@opensuse.org> ha scritto:
Da: Cristian Rodríguez <crrodriguez@opensuse.org> Oggetto: Re: [opensuse] make error due to library incompatibility A: opensuse@opensuse.org Data: Giovedì 10 settembre 2009, 14:37 On 10/09/09 09:50, Maura Monville wrote:
During the make phase of the installation procedure I got the following error that I cannot interpret:
g++ -g -O2 -L../g2-0.70 -L../../lib -o RNAforester Arguments.o glib.o main.o ppforestbase.oprogressive_align.o rna_profile_alignment.o rna_alignment.o rna_algebra.o rna_alphabet.o rnaforest.o rnaforestsz.o rnafuncs.o rnaforester_options.o wmatch.o -lg2 -lRNA
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: skipping incompatible ../g2-0.70/libg2.a when searching for -lg2
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2
collect2: ld returned 1 exit status
You have an incompatible libg2 in directory ./g2-0.70/, you have to rebuild it properly.
How ? Why does my installation have this problem ? I did not get any system installation error. This seems to be a system library. I had a look into the following directory: total 4 drwxr-xr-x 4 root root 4096 2009-09-04 00:37 4.3 mauede@bordighera:~> ll /usr/lib/gcc/i586-suse-linux/4.3 total 44152 -rwxr-xr-x 1 root root 7292716 2008-12-03 05:29 cc1 -rwxr-xr-x 1 root root 7362352 2008-12-03 05:29 cc1obj -rwxr-xr-x 1 root root 7976756 2008-12-03 05:29 cc1objplus -rwxr-xr-x 1 root root 7903024 2008-12-03 05:29 cc1plus -rwxr-xr-x 1 root root 104340 2008-12-03 05:29 collect2 -rw-r--r-- 1 root root 1688 2008-12-03 05:29 crtbegin.o -rw-r--r-- 1 root root 2168 2008-12-03 05:29 crtbeginS.o -rw-r--r-- 1 root root 2080 2008-12-03 05:29 crtbeginT.o -rw-r--r-- 1 root root 1324 2008-12-03 05:29 crtend.o -rw-r--r-- 1 root root 1572 2008-12-03 05:29 crtendS.o -rw-r--r-- 1 root root 4484 2008-12-03 05:29 crtfastmath.o -rw-r--r-- 1 root root 2392 2008-12-03 05:29 crtprec32.o -rw-r--r-- 1 root root 2436 2008-12-03 05:29 crtprec64.o -rw-r--r-- 1 root root 2392 2008-12-03 05:29 crtprec80.o drwxr-xr-x 3 root root 4096 2009-09-04 00:37 include drwxr-xr-x 2 root root 4096 2009-09-04 00:37 include-fixed -rw-r--r-- 1 root root 5063656 2008-12-03 05:28 libgcc.a -rw-r--r-- 1 root root 167506 2008-12-03 05:28 libgcc_eh.a lrwxrwxrwx 1 root root 18 2009-09-04 00:37 libgcc_s.so -> /lib/libgcc_s.so.1 -rw-r--r-- 1 root root 972 2008-12-03 13:25 libgcj.la -rw-r--r-- 1 root root 122810 2008-12-03 05:28 libgcov.a -rw-r--r-- 1 root root 206868 2008-12-03 05:28 libgomp.a lrwxrwxrwx 1 root root 21 2009-09-04 00:37 libgomp.so -> ../../../libgomp.so.1 -rw-r--r-- 1 root root 170 2008-12-03 05:28 libgomp.spec -rw-r--r-- 1 root root 413842 2008-12-03 05:28 libobjc.a lrwxrwxrwx 1 root root 21 2009-09-04 00:37 libobjc.so -> ../../../libobjc.so.2 -rw-r--r-- 1 root root 7860834 2008-12-03 05:28 libstdc++.a lrwxrwxrwx 1 root root 23 2009-09-04 00:36 libstdc++.so -> ../../../libstdc++.so.6 -rw-r--r-- 1 root root 554046 2008-12-03 05:28 libsupc++.a
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
--- Gio 10/9/09, Cristian Rodríguez <crrodriguez@opensuse.org> ha scritto:
Da: Cristian Rodríguez <crrodriguez@opensuse.org> Oggetto: Re: [opensuse] make error due to library incompatibility A: opensuse@opensuse.org Data: Giovedì 10 settembre 2009, 14:37 On 10/09/09 09:50, Maura Monville wrote:
During the make phase of the installation procedure I got the following error that I cannot interpret:
g++ -g -O2 -L../g2-0.70 -L../../lib -o RNAforester Arguments.o glib.o main.o ppforestbase.oprogressive_align.o rna_profile_alignment.o rna_alignment.o rna_algebra.o rna_alphabet.o rnaforest.o rnaforestsz.o rnafuncs.o rnaforester_options.o wmatch.o -lg2 -lRNA
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: skipping incompatible ../g2-0.70/libg2.a when searching for -lg2
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2
collect2: ld returned 1 exit status
You have an incompatible libg2 in directory ./g2-0.70/, you have to rebuild it properly.
How ? Why does my installation have this problem ? I did not get any system installation error. This seems to be a system library. I had a look into the following directory: Please reread what Cristian wrote. You have a problem with version of
On Thu, Sep 10, 2009 at 15:56, Maura Monville <mauede@yahoo.com> wrote: libg2 that is found. I cannot tell where it is installed or where it was built. But either way it is problematic. You'll need to tell us how you satisfied RNAforester's prerequisites. Also see what Dave Howorth wrote on how to get g2 installed on your system. HTH ne... -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. Charles de Gaulle - "The better I get to know men, the more I find myself loving dogs." - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/09/09 10:56, Maura Monville wrote:
How ? Why does my installation have this problem ? I did not get any system installation error. This seems to be a system library. I had a look into the following directory:
total 4 drwxr-xr-x 4 root root 4096 2009-09-04 00:37 4.3 mauede@bordighera:~> ll /usr/lib/gcc/i586-suse-linux/4.3
The wrong library is not there, it is in directory ../g2-0.70/ , in the source tree you are building.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Thu, 10 Sep 2009, Maura Monville wrote:
g++ -g -O2 -L../g2-0.70 -L../../lib -o RNAforester Arguments.o glib.o main.o ppforestbase.oprogressive_align.o rna_profile_alignment.o rna_alignment.o rna_algebra.o rna_alphabet.o rnaforest.o rnaforestsz.o rnafuncs.o rnaforester_options.o wmatch.o -lg2 -lRNA /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: skipping incompatible ../g2-0.70/libg2.a when searching for -lg2 /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lg2 collect2: ld returned 1 exit status
The tarball sadly comes with a precompiled 64bit libg2.a ... You need to clean that subdir first: make -C RNAforester/g2-0.70 clean ./configure ...... make -C RNAforester/g2-0.70 depend # you can ignore the warnings make But at least I get a bunch of other errors. HTH, -dnh -- Sigmentation fault. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Cristian Rodríguez
-
Dave Howorth
-
David Haller
-
Maura Monville
-
ne...