André sent a message using the contact form at http://sflphone.org/contact.
Hi,
I have recently found SFLphone and I am liking it very much.
I wanted to do some trial with g729, so I followed the instructions and
downloaded the bcg729 codec.
Every time i started up the SFLphone the g729 was no loaded.
Prior to performing the make i set the ./configure --prefix=/usr The codec
was installed in /usr/lib but it could no be found.
Afterward I tried with ./configure --prefix=/usr/lib64 and the codec where
installed in /usr/lib64/lib, and also the g729 did not load.
Desperate with the situation, I started the sflphond in debug mode wit strace
to check what path it was looking for.
$ strace ./sflphoned -d -c
open("/lib64/tls/x86_64/libbcg729.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat("/lib64/tls/x86_64", 0x7fff168f7e00) = -1 ENOENT (No such file or
directory)
open("/lib64/tls/libbcg729.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
open("/lib64/x86_64/libbcg729.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
stat("/lib64/x86_64", 0x7fff168f7e00) = -1 ENOENT (No such file or
directory)
open("/lib64/libbcg729.so.0", O_RDONLY|O_CLOEXEC) = 6
I have copied the codec from /usr/lib64/lib to /usr/lib64/
[root@localhost lib64]# pwd
/usr/lib64
[root@localhost lib64]# ll -ltr *bcg*
-rwxr-xr-x. 1 root root 155226 Apr 18 01:21 libbcg729.so.0.0.0
lrwxrwxrwx. 1 root root 18 Apr 18 01:21 libbcg729.so.0 ->
libbcg729.so.0.0.0
lrwxrwxrwx. 1 root root 18 Apr 18 01:21 libbcg729.so ->
libbcg729.so.0.0.0
-rwxr-xr-x. 1 root root 949 Apr 18 01:21 libbcg729.la
-rw-r--r--. 1 root root 269188 Apr 18 01:21 libbcg729.a
Started the SFLPhone, and the codec was now found.
Checking the configure file I found that for the --prefix parameter, /lib is
being concatenated with the value that is chosen for the --prefix
libdir='${exec_prefix}/lib'
I do not know if there is a simple solution for this, but probably sflphone
should look for the codecs also in /usr/lib64/lib to avoid issues like the
one I had.
Thanks for the great work, and great software.
Best Regards
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone