Click here to Skip to main content
15,894,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: linker cannot find shared library... Pin
jschell13-Dec-23 3:47
jschell13-Dec-23 3:47 
Salvatore Terress wrote:
could help me to resolve this issue?...linker


In your post there is nothing that suggests this is a "linker" problem.

Code development parts
1. Write code
2. Compile code, which includes linking.
3. Run code.

What you posted is 3. Not 2.

So you have an executable binary. It runs. The executable and OS together attempt to load libraries requested by the binary.

It is not finding them.

So as per the other post, in linux/unix there are various ways to provide that information to the OS to do that job. By providing a 'library path'.

Your question references "QT". Not sure what that is but guessing you are referring to 'QT Creator'.

And you are, perhaps, running it in the IDE.

If so the steps above still apply. The only difference is that in 'QT Creator' there is going to be an option somewhere that allows you to specify one or more 'library paths'. Getting the format of that correct is not often simple to figure out in my experience. That is because determining a separator is not obvious. But perhaps QA Creator allows (forces) you to add one at a time.

Keep in mind that when you deliver your binary you MUST deal with the same issue. And that will NOT be a QT Creator problem nor question.
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 
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 
GeneralRe: how to add full path #include ? Pin
k505412-Dec-23 5:30
mvek505412-Dec-23 5:30 

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.