logo       

Re: Package trouble: libpetsc2.3.2: msg#00136

Subject: Re: Package trouble: libpetsc2.3.2
Stefan Potyra wrote:

>>When trying to install a package which uses libpetsc and was built on
>>a Debian etch system on Ubuntu, the binary linked against
>>libpetsc.so.2.3.2 will not work on Ubuntu as the symbol "queue" is
>>used by Ubunbtu's libpetsc2.3.2 but not defined in the library.
>>Debian's libpetsc2.3.2 provides the "queue" symbol in the BSS
>>section.
> 
> 
> This can be a result of a different build environment between debian and 
> ubuntu. It's not encouraged to install packages built for debian in Ubuntu, 
> and it's also not supported.

The package in question is the "nmag" micromagnetic simulation suite,
developed at the University of Southampton, which is available from:

http://nmag.soton.ac.uk/nmag/

> One thing you can try is to get the Debian source package for the application 
> in question and rebuilt this on the Ubuntu system.

Our build system is Debian-based, and we would strongly like to provide 
an easy way to install our simulation code to other researchers,
preferably through an unified apt repository for multiple dpkg-based
distributions (such as Debian, Knoppix, Ubuntu):

http://nmag.soton.ac.uk/nmag/current/install/debian.html

So, if we wanted to provide a separate Ubuntu .deb package, we would
presumably have to set up and maintain Ubuntu in a chroot environment.

Is this effort really necessary, as we know by now that the problem
really is just a broken libpetsc2.3.2 package in Ubuntu? Installing
the Debian libpetsc2.3.2 package on the Ubuntu system resolves the
problem, and - I am 100% sure - so would fixing the problem that
Ubuntu's libpetsc2.3.2 lacks the "queue" symbol. By the way, I
strongly doubt any program linking against libpetsc will work with
that package if this symbol is not present.

> The source package of petsc (at least for gutsy) is the unmodified package 
> from Debian. However as written above, the build environment may be 
> different.

The definition of the symbol in question seems to be in
petsc-2.3.2/src/sys/fileio/mprint.c (line 147); strangely, the symbol
does get referenced in the Ubuntu library (nm -D shows it as "U"), but
it is not defined. It is in the BSS section in the Debian variant of
the library.

-- 
best regards,
Dr. Thomas Fischbacher
t.fischbacher-Fv7Bckdh1xP10XsdtD+oqA@xxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe