Wednesday, October 14, 2009

[nslu2-linux] Cant run perl from optware/ts101 feed - Compile shared libraries with -fPIC!

 

Hello

I'm having a problem running Perl that I've installed via ipkg from the optware/ts101/cross/ feed onto my Qnap TS-101.

Firstly, I hope this is this the right forum for asking this, nslug1-linux is listed as the package maintainer in the feed.

The actual problem is that when I try to run perl I get this:
[~] # perl -v
R_PPC_REL24: Compile shared libraries with -fPIC!

perl: symbol 'malloc': can't handle reloc type 0xa

I did the usual ipkg install perl, and it reported no problems. Everything I've found on the web points to this being flags that were missing when the package was built, or other problems with compiling or linking. (e.g. http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 its for gentoo, but I guess the principal is the same)

Is there is anything I can do about this or does the package or one of its dependencies need updating by a developer? I'd have a go at building this myself, but I'm a bit of a linux noob and my previous attempts to set up a build environment or cross compiler have both failed, so I'm stuck with downloading the pre compiled binaries. I've tried re-installing, uninstalling and updating with no effect. Other stuff I've installed with ipkg has worked fine.

Thanks in advance for any help

Jason

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Sitebuilder

Build a web site

quickly & easily

with Sitebuilder.

Yahoo! Groups

Auto Enthusiast Zone

Discover Car Groups

Auto Enthusiast Zone

.

__,_._,___

No comments:

Post a Comment