Re: linking against shared libraries not in default path

2010-11-29 Thread Anton Shterenlikht
On Mon, Nov 29, 2010 at 03:00:45PM +0100, Tijl Coosemans wrote: > On Monday 29 November 2010 14:50:59 Anton Shterenlikht wrote: > > I compiled some numerical libraries under my home > > directory, including static and shared libs. The > > shared lib is > > > > % ls ./src/libslatec.so.1 > > ./src/l

Re: linking against shared libraries not in default path

2010-11-29 Thread Tijl Coosemans
On Monday 29 November 2010 14:50:59 Anton Shterenlikht wrote: > I compiled some numerical libraries under my home > directory, including static and shared libs. The > shared lib is > > % ls ./src/libslatec.so.1 > ./src/libslatec.so.1 > % > > Now I'd like to test shared libraries, so I do > > %

Re: linking against shared libraries not in default path

2010-11-29 Thread Igor V. Ruzanov
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x te

Re: linking against shared libraries not in default path

2010-11-29 Thread Igor V. Ruzanov
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x te

linking against shared libraries not in default path

2010-11-29 Thread Anton Shterenlikht
I compiled some numerical libraries under my home directory, including static and shared libs. The shared lib is % ls ./src/libslatec.so.1 ./src/libslatec.so.1 % Now I'd like to test shared libraries, so I do % gfortran45 -o test01.x test01.o qc6a.o -L./src/ -lslatec % ./test01.x /libexec/ld-e