Unable to install application for shared library files

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I have installed FreeBSD 9.0 amd64 and KDE4.8.4 on my USB. I got the following error message when I tried to login as a regular user and can’t start KDE4. Have any idea resolving this problem? How can I install the application for shared library to start the program properly. I extremely need your help to fix this issue. Thanks in advance.

Application installed for ShareLibrary files

Could not display “/bin/dbus-daemon”.

There is no application installed for shared library files

SHARE
Answered By 0 points N/A #171934

Unable to install application for shared library files

qa-featured

You must create the shared library using this format:

gcc -shared -Wl,-soname,your_soname 

-o library_name file_list library_list

Here's an example, which creates two object files (a.o and b.o) and then creates a shared library that contains both of them. Note that this compilation includes debugging information (-g) and will generate warnings (-Wall), which aren't required for shared libraries but are recommended. The compilation generates object files (using -c), and includes the required -fPIC option:

gcc -fPIC -g -c -Wall a.c

gcc -fPIC -g -c -Wall b.c
gcc -shared -Wl, -soname, libmystuff.so. 1 
-o libmystuff.so.1.0.1 a.o b.o -lc

Related Questions