Mailinglist Archive: opensuse-packaging (110 mails)

< Previous Next >
[opensuse-packaging] Re: static lib of bz2
  • From: Yi Zhang <yizhang@xxxxxxxxxx>
  • Date: Sat, 07 Apr 2012 18:04:15 +0800
  • Message-id: <jlp36o$p89$1@dough.gmane.org>
Guido Berhoerster wrote:

* Yi Zhang <yizhang@xxxxxxxxxx> [2012-04-07 10:50]:
Hi guys,

I am a 12.1 user. Yesterday I was trying to compile some scientific codes
(in fortran) with the option "-static". The compiler complained as it
cannot find the libbz2. I checked the installed lib and found both the
libbz2-1 and libbz2-devel are installed. But none of them includes the
static lib I need. The repositories I use includes
openSUSE-12.1-Non-Oss
openSUSE-12.1-Oss
openSUSE-12.1-Source
Updates for openSUSE 12.1 12.1-1.4
opensuse-education-i586
Both of them are from the http://download.opensuse.org domain.

Currently I walk around the problem by deleting the "-static" option in
the Makefile. The code runs fine. But I still wandering where I can find
the static lib? Or the only way is compiling from source code by myself?

Most packages sucha s bzip2 do not provide static libraries (if
they do they can usually be found in a *-devel-static subpackage)
so you have to either need to link dynamically or build your own
bzip2.

Got it. Thank you.




--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >