Skip to Content

Cannot run make, getting errors at the end

2 replies [Last post]
Joined: 04/17/2010

Trying to install Hydrogen on FC4 and getting the following error:

src/lib/Sample.cpp:97: undefined reference to `sf_open'
src/Sample.o(.text+0x6eb):src/lib/Sample.cpp:109: undefined reference to `sf_read_float'
src/Sample.o(.text+0x6f3):src/lib/Sample.cpp:110: undefined reference to `sf_close'
collect2: ld returned 1 exit status
make[1]: *** [hydrogenPlayer] Error 1
make[1]: Leaving directory `/home/shawn/downloads/hydrogen-0.9.2'
make: *** [hydrogenPlayer] Error 2

I know that others have posted this error as well, but not really what flavor of *inx they are running or not always a solution. The closest I have seen is slackmartin changing the PKG_CONFIG_PATH and I do not understand how to do this. I have flac and all other requirements installed and configured properly.

Could someone please help me.



Joined: 04/17/2010

this error is related to the missing installation of the libsndfile headers file.
I don't know how the fedora package is called but on debian/ubuntu the missing package is libsndfile1-dev, check if fedora has a similar package.

hope this helps


Joined: 04/17/2010

To all who wish to endure this adventure on Fedora core 4r3 here is what I had to do to finish getting this to work (down to one error, known bug)

Before compiling (./configure) go to a term session and type:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and hit the enter key

Then goto to and search for libsndfile

If you are running Fedora core 4 download the following rpm and install:

libsndfile-1.0.11-3.fc4.i386.rpm (if running on a i386,i486,i586 platform).

Now try your ./configure
make install

Everything should go fine until the end and you will get an error on the update menus part of the install, which according to comix, it is a known bug. Other than that I was able to run the program just fine so far.

Happy music making (GRIN)!