[mercury-users] Problem running Mercury on Mandrake 9.0
Michael Wybrow
mjwybrow at cs.mu.OZ.AU
Wed Jan 29 12:51:57 AEDT 2003
On Wed, 29 Jan 2003, David Overton wrote:
>
> On Wed, Jan 29, 2003 at 11:56:46AM +1100, Michael Wybrow wrote:
> >
> > Ok, so I just recently upgraded my Linux machine at home to Mandrake 9.0.
> > I have installed Mercury from source (specifically 0.11.1-beta-2003-01-22)
> > and it all seemed to work fine.
> >
> > Unfortunately, whenever I try to compile anything `ml' fails with:
> >
> > [mjwybrow at archroy tmp]$ ml
> > /usr/bin/ld: cannot find -lm
> > collect2: ld returned 1 exit status
> >
> > The reason for this is that shared libraries are not used as the default
> > on Linux but on this machine there is no static version of libm:
>
> It seems strange that Mandrake wouldn't include a static version of
> libm. Are you sure there's not some development rpm (or whatever
> package format Mandrake uses) that you haven't installed?
I agree, and I did consider this -- I searched through the files in the
available packages distributed with mandrake 9.0 and didn't find a libm.a.
I've since done a little more research, it turns out that I am missing the
package `glibc-static-devel' which contains libm.a. Strangely this
package isn't included on the CD distribution of Mandrake 9.0.
For anyone else with the problem, the package can be downloaded from:
ftp://rpmfind.net/linux/Mandrake/9.0/i586/Mandrake/RPMS/glibc-static-devel-2.2.5-16mdk.i586.rpm
Michael
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list