Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Why dependency_libs in installed libfreeswitch.la are pointing to location without those dependenciaes? #1491

Open
konstantin-sancom opened this issue Dec 21, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@konstantin-sancom
Copy link

konstantin-sancom commented Dec 21, 2021

Hi!

After FreeSWITCH v1.10(v1.10 branch, NOT master) building from source process is compleated, there is libfreeswitch.la in source tree root, which has dependency_libs field, pointing to locations in source tree, where other *.la files are located:

# Libraries that this one depends upon.
dependency_libs=' -L<fs_src_root>/libs/apr-util/xml/expat/lib <fs_src_root>/libs/apr-util/xml/expat/lib/libexpat.la <fs_src_root>/libs/apr/libapr-1.la -luuid -lpthread /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libsqlite3.la -lfreetype /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libcurl.la -lpcre -lspeex -lspeexdsp -ledit -ldl -lcrypt -lrt -ltpl -lspandsp -lsofia-sip-ua -lpng16 -lz -lssl -lcrypto'

After FreeSWITCH being installed with make install there is libfreeswitch.la in install location, but it's content differs from those one, which located in the source tree.

# Libraries that this one depends upon.
dependency_libs=' -L<fs_src_root>/libs/apr-util/xml/expat/lib <install_prefix>/lib/libexpat.la /usr/local/freeswitch/lib/libapr-1.la -luuid -lpthread /usr/lib/x86_64-linux-gnu/libsqlite3.la -lfreetype /usr/lib/x86_64-linux-gnu/libcurl.la -lpcre -lspeex -lspeexdsp -ledit -ldl -lcrypt -lrt -ltpl -lspandsp -lsofia-sip-ua -lpng16 -lz -lssl -lcrypto'

As you can see, expat.la points to installation location, but is not found there actually.

Is this behaviour by desing and I fogot to configur/build/install something or is it a BUG?

@seven1240
Copy link
Collaborator

it's a known problem. you can remove it with a sed script etc.

@konstantin-sancom
Copy link
Author

Thanks, @seven1240 !
Ok. Could you mark this issue as a bug, please?

@seven1240 seven1240 added the bug Something isn't working label Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants