Execution of compiled pkg-config-0.28 on Synology DS712+ results in a Segmentation fault (core dump)
Submitted by hdisseldorp
Assigned to pkg..@..op.org
After a successful creation of pkg-config-0.28. I get a segmentation fault when I try to execute the compiled program. Here are the steps I took to compile the program.
I have downloaded pkg-config-0.28.tar.gz into a local tmp directory. I executed the following commands: 1) tar xvzf pkg-config-0.28.tar.gz 2) cd pkg-config-0.28 3) env LDFLAGS="-L/opt/lib" ./configure --prefix=/usr/local 4) make install 5) /usr/local/pkg-config --version 6) Segmentation fault (core dumped)
Al this is run on a Synology DS712+ NAS server on which I installed ipkg, to be able to install additional (development) packages. I guess that the segmentation fault is caused by linking with the wrong library (versions).
The reason I need an updated version of pkg-config is to be able to compile the latest ruby version. The current pkg-config version (0.15) don't recognize the "URL' tag.
Can somebody help me out with this problem?
Kind regards, Harry