Marco van de Voort wrote:
On Linux I found only the sndfile unit (packages\extra\sndfile\).
This require the presence of sndlife library on the distribution.
In my PC I have Ubuntu 6.06 with libsndfile installed (dynamic library
only):
/usr/lib/libsndfile.so.1.0.12
/usr/lib/libsndfile.so.1
Your Linux system is not properly configured for libsndfile development.
neither for other kind of develpment libraries (ncurses, sqlite, etc,
etc) indeed.
Each time I try something that needs a link to a library I have to spend
my weekends trying to fild what is missing... :-(
You miss the symlink from libsndfile.so -> libsndfile.so.1.0.12
/usr/bin/ld: cannot find -lsndfile
sound.pas(34,1) Error: Error while linking
(note: the -Fl statements in fpc.cfg are tuned on /usr/ and /usr/lib/ so
the real problem is that I don't have the static library)
There is a chance to have my program linked on a system where I only
have the Dynamic Libray?
A -lxxx searches for libxxx.so only, not for variants. Create symlinks if
necessary or try to install packages that might create symlinks (like -dev
packages on RedHat)
Ok, I'll try that, thanks. But the same problem could happen in other
PCs where my program could be deployed...
So I turn back to the inital question: there is a more affordable way to
play a sound file on a Linux Machine?
thanks
tiziano
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal