LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-12-2009, 04:26 PM   #1
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Rep: Reputation: 32
Syck doesn't want to compile


I need to install syck with command pecl install syck or with make/make install tgz file.But in both cases i get same error:
/usr/bin/ld: /usr/local/lib/libsyck.a(emitter.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libsyck.a: could not read symbols: Bad value
collect2: ld returned 1 exit statu

Also there is one warning:
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
I found solution on some german blog which say how this need to be done:
~/syck-0.55 # export CFLAGS=-fPIC; ./configure; make

But still same error after applying this one.
I tried this on syck-0.55(which is syck libralies) and on syck0.9.3
(which is same as command pecl install syck-beta)
Any idea what i missed?
 
Old 08-13-2009, 12:00 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
If you want the shared lib = libsyck.so.0 -> libsyck.so.0.0.55
and libsyck.so ( -> libsyck.so.0.0.55 ) .....
syck-0.55-4.el5.rf.i386.rpm , syck-devel-0.55-4.el5.rf.i386.rpm

... then the packages are available from the 'rpmforge.repo'
http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm

Direct links :
http://ftp.belnet.be/packages/dries....l5.rf.i386.rpm
http://ftp.belnet.be/packages/dries....l5.rf.i386.rpm

The result of 'yum search syck' :
Code:
perl-YAML-Parser-Syck.i386 : Wrapper for the YAML Parser Extension: libsyck
perl-YAML-Parser-Syck-debuginfo.i386 : Debug information for package perl-YAML-Parser-Syck
perl-YAML-Syck-debuginfo.i386 : Debug information for package perl-YAML-Syck
php-syck.i386 : YAML module for php
syck-devel.i386 : Extension for reading and writing YAML
syck.i386 : Extension for reading and writing YAML
python-syck.i386 : YAML module for python
perl-YAML-Syck.i386 : Fast, lightweight YAML loader and dumper
perl-YAML-Syck.i386 : Fast, lightweight YAML loader and dumper
syck-debuginfo.i386 : Debug information for package syck

Last edited by knudfl; 08-13-2009 at 12:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
Trying to patch kernel + compile, compile is looping. kripz Linux - Kernel 1 06-16-2009 06:51 AM
CLFS 5.9 - Glibc compile: suffix of object files, cannot compile Noddegamra Linux From Scratch 3 04-27-2009 12:49 AM
how to compile software for any other Linux box which is do not have compile? hocheetiong Linux - Newbie 4 03-06-2009 04:35 PM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration