Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
loading lib error   Message List  
Reply | Forward Message #981 of 1198 |
Re: loading lib error

Vesko:

we are using mpatrol so far quite successfully but noticed (just as
you did) that it doesn't compile anymore on Fedora Core 3 and later
versions. Do you know what happened to maptrol development and why
it stoped back in 2002 with version 1.4.8? Or do you know of an
alternative set of (free) libraries that can serve the same purpose
as mpatrol? We are also using IBM/Rational Purify, which is great
but expensive and has some problems on Linux.

Thanks,
Tino

--- In mpatrol@yahoogroups.com, "Vesselin Peev" <vesko@o...> wrote:
> Hi Shirley,
>
> On Wednesday 06 July 2005 10:15, shirley820409 wrote:
> > i am a new user.
> > i used command "mpatrol -d ./myfile" ,then i got the error
> > messasge: "error while loading shared libraries: libbfd.so:
cannot open
> > shared object file: No such file or directory".
> >
> > i used following steps to install mpatrol:
> > 1.go into the `build' directory
> > 2.make and make mpatrol
> > 3.copy mpatrol to /usr/bin
> > i did no change to Makefile.
> > my env is readhat 9.0 and gcc version 3.2.2.
> >
> > i think i made some silly mistakes.
> > can anybody help me out?
> > thanks
>
> You seem to have built it fine, although in step 2 just "make"
[ENTER] and no
> "make mpatrol" [ENTER] following that should be equivalent (as a
result) to
> doing both. The mpatrol installation documentation at
> http://www.cbmamiga.demon.co.uk/mpatrol/mpatrol_4.html says that
the "all"
> make target, which is invoked via a "make" or "make all"
command, "builds all
> possible combinations of the mpatrol library for your system", and
I guess
> you don't want partial functionality.
>
> Regarding the error message, you are missing libbfd.so which is
part of
> binutils. You likely do not have the Red Hat 9 binutils package
installed.
>
> Note there exists a prebuilt binary mpatrol package for Red Hat 9
that should
> work but you'd still need to have binutils installed. Here is a
direct link:
>
> http://apt.bea.ki.se/biorpms/redhat/9/i386/RPMS.biorpms/mpatrol-
1.4.8-3.rh9.bio.i386.rpm
>
> If you decide to install that, remove any mpatrol files that you
have copied
> manually so far.
>
> In case the way you have tried, i.e. manual build and
installation, doesn't
> work even after you've added binutils, and in case the above
binary package
> doesn't work, either, (it should), try building via the GNU Build
System
> (autoconf, automake, libtool) which would adapt to your
environment
> automatically. On the same mpatrol installation documentation page
> http://www.cbmamiga.demon.co.uk/mpatrol/mpatrol_4.html it is
written:
>
> "If you wish to use GNU autoconf, automake and libtool to build
and install
> mpatrol you may do so by entering the `pkg/auto' directory and
typing
> `./setup'. This will construct the directory structure that is
required by
> these tools and will also create a `configure' script. Please see
the
> `INSTALL' file in that directory for information on how to
proceed. Note that
> you can clean up the `pkg/auto' directory by typing `make
distclean' (if the
> `configure' script has already been run) followed by `./cleanup'. "
>
> In fact you are in luck you are using an older version of Red Hat
Linux. I've
> found out that building mpatrol from source fails on both Fedora
Core 3 and
> the current version Fedora Core 4 (haven't tried on the old Fedora
Core 2),
> nor is there a binary package currently available for those OS
versions.
>
> Also you should have in mind that the full capabilities of mpatrol
can be used
> only when you recompile your source code with mpatrol (and include
mpatrol.h
> in your source files as described in the documentation), and then
link with
> the mpatrol single-thread or multi-thread library (and other
required
> libraries by it). If you do so you won't need to invoke mpatrol
like you did,
> i.e. "mpatrol -d ./myfile"; then you could just invoke your
program directly,
> "./myfile". Note also you need to set up an environment variable
> MPATROL_OPTIONS with appropriate mpatrol options. Another
possibility when
> using mpatrol on some supported platforms is to forgo the re-
compilation step
> of your source code (this is convenient if you only have object
code) but
> still link with the appropriate mpatrol library. See the
documentation for
> the possible variations of mpatrol usage on your platform.
>
> Back to the installation of mpatrol itself, in order to be able to
use it in
> the future in the abovementioned compile and/or link ways, beside
copying the
> mpatrol binary to your local bin directory as you seem to have
done
> correctly, you also need to copy the built mpatrol libraries to
your local
> library directory, as described in step 5 on
> http://www.cbmamiga.demon.co.uk/mpatrol/mpatrol_4.html. While I do
not see it
> mentioned, the same should apply for the user header file
mpatrol.h, which
> needs to be copied to your GNU GCC C/C++ headers directory. If you
use the
> GNU Build System, the copy step for the mpatrol executables, the
mpatrol
> libraries and the mpatrol headers as well should be done
automatically for
> you to the appropriate places when you do "make install" as a root
user.
> While it "should" -- be sure to check if it really did things
correctly.
>
> I hope that helps!
>
> -Vesko





Thu Jul 7, 2005 2:49 pm

Tinschel
Offline Offline
Send Email Send Email

Forward
Message #981 of 1198 |
Expand Messages Author Sort by Date

i am a new user. i used command "mpatrol -d ./myfile" ,then i got the error messasge: "error while loading shared libraries: libbfd.so: cannot open shared...
shirley820409
Offline Send Email
Jul 6, 2005
10:16 am

Hi Shirley, ... You seem to have built it fine, although in step 2 just "make" [ENTER] and no "make mpatrol" [ENTER] following that should be equivalent (as a...
Vesselin Peev
veskopeev
Offline Send Email
Jul 6, 2005
1:35 pm

Vesko: we are using mpatrol so far quite successfully but noticed (just as you did) that it doesn't compile anymore on Fedora Core 3 and later versions. Do you...
Tinschel
Offline Send Email
Jul 7, 2005
2:49 pm

Hi Tino, ... No idea. Perhaps because it is good enough for many things. But that wouldn't justify why it is unmaintained. That said see my posts here: ...
Vesselin Peev
veskopeev
Offline Send Email
Jul 7, 2005
11:42 pm

Vesko: thanks for your long reply. We will keep monitoring your post and try some of the other packages that you suggest. RGDS, Tino ... ...
Constantin Scheder
Tinschel
Offline Send Email
Jul 12, 2005
8:02 pm

Hi, Sorry I didn't get back to you sooner but yahoogroups seems to think that my email address no longer worked and stopped sending me the group mails. I...
Roy, Graeme
graemeroy
Offline Send Email
Jul 8, 2005
8:41 am

... Hi Roy, this is bad news. I like mpatrol as it is the only tool I was able to use on my application during a human's life span - with larger data sets the...
Rainer Wiesenfarth
wiesenfarth
Offline Send Email
Jul 8, 2005
8:56 am

Hi Rainer, I would be more than happy to pass mpatrol's maintenance onto someone else. Even though I don't have much time for development, I'd be able to...
Roy, Graeme
graemeroy
Offline Send Email
Jul 8, 2005
9:07 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help