Cant run perl from optware/ts101 feed - Compile shared libraries with -fPIC!

View: New views
2 Messages — Rating Filter:   Alert me  

Cant run perl from optware/ts101 feed - Compile shared libraries with -fPIC!

by jasoncraneuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: Cant run perl from optware/ts101 feed - Compile shared libraries with -fPIC!

by perror@rocketmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--- In nslu2-linux@..., jasoncraneuk@... wrote:

>
> 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've just installed the latest package, perl_5.8.8-22_powerpc.ipk and get the same error.
This is my first attempt at using OptWare and I would really like to get Perl working! I've tried to find older packages but without any luck.