Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 5:58
mveRichard MacCutchan13-Dec-23 5:58 
AnswerRe: linker cannot find shared library... Pin
jschell13-Dec-23 3:47
jschell13-Dec-23 3:47 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 3:51
mveRichard MacCutchan13-Dec-23 3:51 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress13-Dec-23 12:24
Salvatore Terress13-Dec-23 12:24 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 22:03
mveRichard MacCutchan13-Dec-23 22:03 
GeneralRe: linker cannot find shared library... Pin
jschell14-Dec-23 4:24
jschell14-Dec-23 4:24 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress15-Dec-23 11:47
Salvatore Terress15-Dec-23 11:47 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress16-Dec-23 10:03
Salvatore Terress16-Dec-23 10:03 
In case somebody is still interested in resolving / discussing this

I understand the "rm " , however it appears there in no need of knowledge / control from WHERE to remove valid .so build in first place.

then gcc proceeds to build the .so in " /home/nov25-1/Qt/5.15.2/ ..."

Since Qt changes as often as mine socks I am not sure its -gcc-_ selection of final resting place of .so files is OK.
IMHO .so should be part of the project structure - outside Qt.


Here is what compiler /linker outputs when I "rebuild" the library .pro project.

rm -f libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so libBluetoothctl_Dialog.so.1 libBluetoothctl_Dialog.so.1.0
clang++ -ccc-gcc-name g++ -Wl,-rpath,/home/nov25-1/Qt/5.15.2/gcc_64/lib -shared -Wl,-soname,libBluetoothctl_Dialog.so.1 -o libBluetoothctl_Dialog.so.1.0.0 main.o mainwindow_bluewtoothctl_dialog.o moc_mainwindow_bluewtoothctl_dialog.o  /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Widgets.so /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Gui.so /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Core.so -lGL -lpthread    
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so.1
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so.1.0
14:38:10: The process "/usr/bin/make" exited normally.
14:38:10: Elapsed time: 00:16.

GeneralRe: linker cannot find shared library... Pin
k505416-Dec-23 12:13
mvek505416-Dec-23 12:13 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress17-Dec-23 11:19
Salvatore Terress17-Dec-23 11:19 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan16-Dec-23 21:16
mveRichard MacCutchan16-Dec-23 21:16 
Questionhow to add full path #include ? Pin
Salvatore Terress10-Dec-23 5:57
Salvatore Terress10-Dec-23 5:57 
AnswerRe: how to add full path #include ? Pin
Dave Kreskowiak10-Dec-23 6:19
mveDave Kreskowiak10-Dec-23 6:19 
GeneralRe: how to add full path #include ? Pin
Mircea Neacsu10-Dec-23 8:06
Mircea Neacsu10-Dec-23 8:06 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak10-Dec-23 15:30
mveDave Kreskowiak10-Dec-23 15:30 
GeneralRe: how to add full path #include ? Pin
Peter_in_278010-Dec-23 16:25
professionalPeter_in_278010-Dec-23 16:25 
GeneralRe: how to add full path #include ? Pin
jschell11-Dec-23 4:33
jschell11-Dec-23 4:33 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak11-Dec-23 4:41
mveDave Kreskowiak11-Dec-23 4:41 
GeneralRe: how to add full path #include ? Pin
k505411-Dec-23 6:12
mvek505411-Dec-23 6:12 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak11-Dec-23 9:19
mveDave Kreskowiak11-Dec-23 9:19 
GeneralRe: how to add full path #include ? Pin
jschell12-Dec-23 5:13
jschell12-Dec-23 5:13 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak12-Dec-23 5:25
mveDave Kreskowiak12-Dec-23 5:25 
GeneralRe: how to add full path #include ? Pin
k505412-Dec-23 5:31
mvek505412-Dec-23 5:31 
GeneralRe: how to add full path #include ? Pin
jschell12-Dec-23 11:10
jschell12-Dec-23 11:10 
GeneralRe: how to add full path #include ? Pin
Dave Kreskowiak12-Dec-23 11:19
mveDave Kreskowiak12-Dec-23 11:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.