Re: [fpc-pascal] libsndfile library

2007-05-08 Thread Marc Santhoff
Am Dienstag, den 08.05.2007, 09:51 +0200 schrieb Tiziano_mk: > for mark: > I am not a Linux user, sorry. All that seems too complex to me, but I'll > try to investigate :-) What I wrote is pretty easy, I wish Windows has something like this in the base system - ever had a missing .DLL and window

Re: [fpc-pascal] libsndfile library

2007-05-08 Thread Tiziano_mk
Marco van de Voort wrote: Ok, I'll try that, thanks. But the same problem could happen in other PCs where my program could be deployed... Yes and no. No: It will probably add a dependancy to libsndfile.so.1 (not .so or .so.1.0.12). And that is installed. Yes: the library must be present, an

Re: [fpc-pascal] libsndfile library

2007-05-07 Thread Marc Santhoff
Am Montag, den 07.05.2007, 10:01 +0200 schrieb Tiziano_mk: > 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 (

Re: [fpc-pascal] libsndfile library

2007-05-07 Thread Marco van de Voort
> > > >> /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

Re: [fpc-pascal] libsndfile library

2007-05-07 Thread bartek
> > 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) Ubuntu also has x-dev packages. apt-get install lbsndfile1-dev should fix your problem without need to tinker. > > O

Re: [fpc-pascal] libsndfile library

2007-05-07 Thread Tiziano_mk
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

Re: [fpc-pascal] libsndfile library

2007-05-07 Thread Marco van de Voort
> 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

[fpc-pascal] libsndfile library

2007-05-07 Thread Tiziano_mk
The real question is "How to play a sound file on Linux in the same way I can do it on windows?". this is my experience: On Windows I do: uses mmsystem ... sndPlaySound('filename.wav',0); ... and it works gracefully. On Linux I found only the sndfile unit (packages\extra\sndfile\). This