LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   GTK Application not working (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/gtk-application-not-working-4175438246/)

ashwaniwin 11-22-2012 05:12 AM

GTK Application not working
 
Hi All,
Thanks to all in advance, i successfully installed "Quantal 12.10 armhf" on my beagleboard_XM by following link http://elinux.org/BeagleBoardUbuntu
my helloword program is working fine but any GTK+ application is not working
but its working on Angstom board

error showing 'no such file or directory'


Thanks

Ashwani

acid_kewpie 11-22-2012 05:17 AM

where is this error coming from? is this just a PATH issue?

ashwaniwin 11-22-2012 05:19 AM

No its not path issue

acid_kewpie 11-22-2012 05:22 AM

so where is this error coming from? what are you doing. "It don't work" is NOT a useful description.

ashwaniwin 11-22-2012 05:27 AM

Hi Chris,
i have two SD card i installed Angstrom one of them and ubuntu 12.10 armhf in other.
i installed gtk on both card
but one of my gtk application is working on Angstrom fine, but on ubuntu its showing error "no such file and directory"
i am executing my application ./application

Thanks
Ashwani

acid_kewpie 11-22-2012 05:28 AM

yes, but where does "it" show an error??

ashwaniwin 11-22-2012 05:33 AM

on terminal

theNbomr 11-22-2012 02:57 PM

The problem may be with locating a library. IIRC, this is the same message that occurs when a shared object library is not found. It seldom occurs on a desktop environment, because package managers look after those dependencies, and Makefiles look after them when building for native applications. Doing cross development, the libraries may be installed on the development host, but absent on the target.
The lib(s) may also be installed, but not locatable by the linking loader. You may have to export $LD_LIBRARY_PATH, with a list of directories in which to search for shared object libraries.
You can use ldd to determine which libraries the object code needs.

--- rod.


All times are GMT -5. The time now is 06:11 AM.