Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 09-10-2004, 08:34 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0 cannot open shared object file: No such file or directory


I am trying to run simple swing program "helloworld"
but while executing it gives following error on FreeBSD

Exception in thread "main" java.lang.UnsatisfiedLinkError:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at Method)
at sun.awt.NativeLibLoader.loadLibraries(
at sun.awt.DebugHelper.<clinit>(
at java.awt.EventQueue.<clinit>(
at javax.swing.SwingUtilities.invokeLater(
at JPanels.main(
Should i install XFree86-libs package on FreeBsd

I am using following packages
linux-sun-jdk- Sun Java Development Kit 1.4 for Linux
linux_base-8-8.0_4 Base set of packages needed in Linux mode (only for i386)
linux_devtools-8.0_1 Packages needed for doing development in Linux mode
libtool-1.3.5_1 Generic shared library support script
gmake-3.80_1 GNU version of 'make' utility
automake-1.4.5_9 GNU Standards-compliant Makefile generator (legacy version
GCC 2.95.4
gdb 4.18
ld 2.12.1 supported emulation elf_i386



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
error while loading shared libraries: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
cannot open shared object file barells Linux - Software 2 07-16-2005 07:53 AM cannot open shared object file props666999 Slackware 4 06-03-2005 01:12 PM
error while loading shared libraries: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration