LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-23-2004, 04:27 AM   #1
man26
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
How to link libawt.so to libXp.so


Hi,

libXp.so file is loaded in the path
/usr/compat/linux/usr/X11R6/lib
instead of /usr/X11R6/lib


is it posible to link libawt.so to libXp.so??

I am getting following error while running swing program

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
thanks in advance

Regards
man479
 
Old 09-23-2004, 06:14 AM   #2
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Rep: Reputation: 32
link symbolic source target

ln -s libawt.so /usr/X11R6/lib/libXp.so
 
Old 09-23-2004, 07:19 AM   #3
man26
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
ok
but I found libXp.so and other x libraries in the path
/usr/compat/linux/usr/X11R6/lib

should i fetch it manually or reinstall x-libraries again
can I make symbolic link like
ln -s libawt.so /usr/compat/linux/usr/X11R6/lib/libXp.so


Regards
man479
 
Old 01-10-2005, 03:52 AM   #4
dragoncity99
Member
 
Registered: Dec 2004
Location: Malaysia
Distribution: Redhat/Fedora Core, Slackware, Ubuntu, Knoppix, Gentoo, SUSE, Ubuntu
Posts: 40

Rep: Reputation: 15
I encounter this problem in Fedora Core 3.

What i notice is i din't install the legacy development libraries. In other words it's not in your /usr/lib.

What u can do is create a symbolic link to this library called libXp.so.6.2 (for example) in /usr/lib.

1. cd /usr/lib

2. ln -s libXp.so /usr/X11R6/lib/libXp.so.6.2

(/usr/X11R6/lib/libXp.so.6.2 is where i have my XFree installed).

If u have this XFree86-libs-3.3.2-5.alpha (for example. Depends on ur version) installed, everything is fine. For ur needs, file a package that contains this library for u. Install it and link it.
 
  


Reply



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
how to obtain libXp.so.6 ChrisR(SQL DBA) Linux - Newbie 3 12-15-2010 11:05 AM
Missing libXp.so.6 installing firefox aladin Linux - Software 2 09-13-2005 09:30 AM
OpenBSD 3.6 install D-Link 300T / D-Link DFE 528TX lesleyb *BSD 2 04-01-2005 06:29 PM
Error while running .bin script: missing libXp.so brunnopessoa Linux - Software 2 10-22-2004 08:41 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:55 PM.

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