Bug 195483 - /usr/bin/ld: //lib/libm.so.5: invalid DSO for symbol `cos@@FBSD_1.0' definition
Summary: /usr/bin/ld: //lib/libm.so.5: invalid DSO for symbol `cos@@FBSD_1.0' definition
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.1-STABLE
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 19:54 UTC by martin
Modified: 2014-12-14 02:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin 2014-11-28 19:54:52 UTC
Hello,

Recently, I have had the most ridiculous time reinstalling Postgis on a system after a crash.  I upgraded from 9.1 to 10.1.  After nearly two weeks of troubleshooting, I believe I may found the issue with the help of Postgis folks.  Here is the issue I get on an install of Postgis:

/usr/bin/ld: //lib/libm.so.5: invalid DSO for symbol `cos@@FBSD_1.0' definition
//lib/libm.so.5: could not read symbols: Bad value 

It seems that /lib/libm.so.5 is being problematic on the system.  Please see associated tickets:

Freebsd: 195090

Posgis Ticket:  http://trac.osgeo.org/postgis/ticket/3003

 Make install clean from port version 21

 http://pastebin.com/hALMbGvD

From Source Version 2.1.4 - CONFIGURE:

 http://pastebin.com/c7rvbuFk

From Source Version 2.1.4 - MAKE

 http://pastebin.com/LHfTHxJV 

MArtin
Comment 1 martin 2014-12-05 00:34:26 UTC
I've decided to do a fresh install a freebsd on a newer 64-bit server.  Will update this ticket when it is done.
Comment 2 martin 2014-12-14 02:28:41 UTC
Ok, I ended up doing a fresh install on a 32-bit system (because I had the chassis) of FreeBSD 9.3.  I installed Postgres 9.3 and then installed Postgis21.  It went off without a hitch!

There was definitely an issue with either the upgrade from 9.1 to 10.1 or an issue with 10.1 period.  Anyways, I'm glad it's working now!!

Martin