LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   libawt.so: libXp.so.6: cannot open shared object file: No such file or directory (https://www.linuxquestions.org/questions/%2Absd-17/libawt-so-libxp-so-6-cannot-open-shared-object-file-no-such-file-or-directory-228922/)

man26 09-10-2004 08:34 AM

libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
 
Hi,

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


Quote:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libawt.so: libXp.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.EventQueue.<clinit>(EventQueue.java:80)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
at JPanels.main(JPanels.java:29)

Should i install XFree86-libs package on FreeBsd
configuration

FreeBSD 4.10-BETA (GENERIC)
I am using following packages
linux-sun-jdk-1.4.2.04 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



regards
Man479


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