Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Can't debug app on Target (mx6q Sabrelite): (3 Items)
   
Can't debug app on Target (mx6q Sabrelite)  
I'm trying to debug my app on a sabrelite board from the IDE, but I get the following error:

ldd:FATAL: Could not load library libsocks.so.1

First, my app does need libsocks, but it exists on the platform.  When I copy my app down to the board, it runs from the
 console interface.  So libsocks can be found by the program then.  It is also curious that if I use a VMWare QNX image,
 I can debug the x86 version of the app through the IDE.  Finally, I can debug a HelloWorld app on the sabrelite from 
the IDE.  So its only debugging this app that needs libsocks that causes a problem and only on the sabrelite target.

Any help on knowing why the IDE's debugger can't find the library would be much appreciated.

Rob
Re: Can't debug app on Target (mx6q Sabrelite)  
Make sure qconn is started with proper LD_LIBRARY_PATH.

Alternatively you can setup environment for your program in ide launch configiration.

From: Rob Coker
Sent: Monday, January 14, 2013 8:22 PM
To: general-ide
Reply To: general-ide@community.qnx.com
Subject: Can't debug app on Target (mx6q Sabrelite)


I'm trying to debug my app on a sabrelite board from the IDE, but I get the following error:

ldd:FATAL: Could not load library libsocks.so.1

First, my app does need libsocks, but it exists on the platform. When I copy my app down to the board, it runs from the 
console interface. So libsocks can be found by the program then. It is also curious that if I use a VMWare QNX image, I 
can debug the x86 version of the app through the IDE. Finally, I can debug a HelloWorld app on the sabrelite from the 
IDE. So its only debugging this app that needs libsocks that causes a problem and only on the sabrelite target.

Any help on knowing why the IDE's debugger can't find the library would be much appreciated.

Rob



_______________________________________________

General
http://community.qnx.com/sf/go/post98557
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime8965 2.71 KB
RE: Can't debug app on Target (mx6q Sabrelite)  
That was it.  Thanks.

 

From: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Sent: Monday, January 14, 2013 8:18 PM
To: general-ide@community.qnx.com; general-ide
Subject: Re: Can't debug app on Target (mx6q Sabrelite)

 

Make sure qconn is started with proper LD_LIBRARY_PATH.

Alternatively you can setup environment for your program in ide launch
configiration.


From: Rob Coker

Sent: Monday, January 14, 2013 8:22 PM

To: general-ide

Reply To: general-ide@community.qnx.com

Subject: Can't debug app on Target (mx6q Sabrelite)

 

I'm trying to debug my app on a sabrelite board from the IDE, but I get the
following error:

ldd:FATAL: Could not load library libsocks.so.1

First, my app does need libsocks, but it exists on the platform. When I copy
my app down to the board, it runs from the console interface. So libsocks
can be found by the program then. It is also curious that if I use a VMWare
QNX image, I can debug the x86 version of the app through the IDE. Finally,
I can debug a HelloWorld app on the sabrelite from the IDE. So its only
debugging this app that needs libsocks that causes a problem and only on the
sabrelite target.

Any help on knowing why the IDE's debugger can't find the library would be
much appreciated.

Rob



_______________________________________________

General
http://community.qnx.com/sf/go/post98557
To cancel your subscription to this discussion, please e-mail
general-ide-unsubscribe@community.qnx.com

Attachment: HTML sf-attachment-mime9003 5.88 KB