Specifying only constrained options in /etc/libmap.conf ?

2009-05-07 Thread Mark Stosberg

I would like to use /etc/libmap.conf to apply some mappings
which only apply to the darcs executable.

However the man page for libmap.conf contains this warning:

 WARNING!  Constrained mappings must never appear first in the configura-
 tion file.  While there is a way to specify the ``default'' constraint,
 its use is not recommended.

Warning aside, I thought what I would want is the following. Is
there a better way? I want to limit the scope of this change because
I'm not sure how it will affect the rest of the system, particularly MySQL.

[darcs]
libpthread.so.1 libthr.so.1
libpthread.so.2 libthr.so.2
libkse.so.3 libthr.so.3

Thanks for your help!

Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark StosbergPrincipal Developer  
   m...@summersault.com Summersault, LLC 
   765-939-9301 ext 202 database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Stopped working : Gnucash, libicui18n.so and libmap.conf

2008-03-27 Thread Norberto Meijome
On Wed, 26 Mar 2008 19:19:40 +0200
Volodymyr Kostyrko [EMAIL PROTECTED] wrote:

 Norberto Meijome wrote:
  I have gnucash built against icu 3.6 . I have since then upgraded icu to 
  3.8,
  but i can't upgrade gnucash until I can successfully build the newer sguile.
  Anyway, until today, I had the following line in my libmap.conf  
 
 Good choice is to take sysutils/libchk and rebuild all packages which 
 have stale binaries linked with old icu.

thanks, I'll try that. 

i've done that already by hand (run ldd and parsing for any reference to icu 
3.6 not found), except for those that i can't upgrade because of other issues. 
In this case, gnucash depends on either slib-guile or guile, which are 
coredumping on build. v annoying, havent had a chance to look into it properly.

cheers,
B

_
{Beto|Norberto|Numard} Meijome

But I don't have to know an answer. I don't feel frightened by not knowing 
things, by being lost in the mysterious 
universe without having any purpose, which is the way it really is, as far as I 
can tell, possibly. It doesn't frighten me.
   Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stopped working : Gnucash, libicui18n.so and libmap.conf

2008-03-26 Thread Norberto Meijome
Hi everyone,
I have gnucash built against icu 3.6 . I have since then upgraded icu to 3.8,
but i can't upgrade gnucash until I can successfully build the newer sguile.
Anyway, until today, I had the following line in my libmap.conf

[/usr/local/bin/gnucash-bin]
libicui18n.so.36 libicui18n.so.38

and it was working fine. 

but now that doesn't work anymore:

$ gnucash
/libexec/ld-elf.so.1: Shared object libicui18n.so.36 not found, required by 
gnucash-bin

Even though the mapping seems to work :

$ ldd `which gnucash-bin` | grep icui
libicui18n.so.36 = /usr/local/lib/libicui18n.so (0x29496000)

I tried mapping to libicui18n.so.38 , libicui18n.so.38.1 , libicui18n.so with
same results - ldd reports OK, but gnucash wont launch.

Between the time it was working and now, I have upgraded kernel + world to keep
up with 7-STABLE , updated my linux-base as for skype 1.2, and performed the
gnome libs and gstreamer upgrades as per UPDATING :P

Any ideas of what could be the problem?

cheers,
B
_
{Beto|Norberto|Numard} Meijome

Linux is for people who hate Windows, BSD is for people who love UNIX.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stopped working : Gnucash, libicui18n.so and libmap.conf

2008-03-26 Thread Volodymyr Kostyrko

Norberto Meijome wrote:

I have gnucash built against icu 3.6 . I have since then upgraded icu to 3.8,
but i can't upgrade gnucash until I can successfully build the newer sguile.
Anyway, until today, I had the following line in my libmap.conf


Good choice is to take sysutils/libchk and rebuild all packages which 
have stale binaries linked with old icu.


--
Sphinx of black quartz judge my vow.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a new libmap.conf for linux emulation

2007-06-05 Thread Sereno Ternullo

Norberto Meijome ha scritto:

On Tue, 5 Jun 2007 00:54:32 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

  
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.



why do you think you have to do that for? 
  


I'm slowing understanding the source of my disaster.
Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 
base system,
I had the insane idea of installing an entire Fedora core 4 system by 
unpacking all the RMPs

found on the first ISO image of the linux distribution.

# mount /dev/md0 /mnt/FedoraISO
# cd /mnt/FedoraISO
# for rpm in *.rmp
 do
 rpm --ignore-os -i --root-install /compat/linux ${rpm}
 done

After these commands I had my problem with ldconfig and the linux 
emulation.


Now the strangest thing: my /etc/libmap.conf file disappeared.

* I didn't have to install any rpms ?
* I was sleeping and issued rm libmap.conf ?
* someone logged into my system hacking my password by ssh ?
-- I will check my logs

I don't know.

However, my libmap.conf was missing.
I tried to adjust it by hand, but I'm not that expert, and everything I 
do about it

is useless.

Can anyone of you post me his own libmap.conf file with basic linux 
emulation ?


I'm running FreeBSD 6.2 , GENERIC,
the linux base installed system is Fedora Core 4.

Thank you all,
Sereno.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a new libmap.conf for linux emulation

2007-06-05 Thread Norberto Meijome
On Wed, 06 Jun 2007 00:28:54 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 From: Sereno Ternullo [EMAIL PROTECTED]
 To: Norberto Meijome [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Making a new libmap.conf for linux emulation
 Date: Wed, 06 Jun 2007 00:28:54 +0200
 User-Agent: Mozilla Thunderbird 1.5.0.12 (Macintosh/20070509)
 
 Norberto Meijome ha scritto:
  On Tue, 5 Jun 2007 00:54:32 +0200
  Sereno Ternullo [EMAIL PROTECTED] wrote:
 
  
  Hi all, 
  I made too many mistakes configuring my /etc/libmap.conf file and now 
  I'm having problems with my linux sub system.

 
  why do you think you have to do that for? 
  
 
 I'm slowing understanding the source of my disaster.
 Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 
 base system,
 I had the insane idea of installing an entire Fedora core 4 system by 
 unpacking all the RMPs
 found on the first ISO image of the linux distribution.

hmm not necessarily the way to go (restraining myself from saying
'definitely bad bad bad')... have you seen all the linux-* ports in /usr/ports?

(and do you REALLY need ALL of the rpms in FC4? )

 
 # mount /dev/md0 /mnt/FedoraISO
 # cd /mnt/FedoraISO
 # for rpm in *.rmp
   do
   rpm --ignore-os -i --root-install /compat/linux ${rpm}
   done  
 
 After these commands I had my problem with ldconfig and the linux 
 emulation.

hmm i dont like it :)

 
 Now the strangest thing: my /etc/libmap.conf file disappeared.
 
 * I didn't have to install any rpms ?
 * I was sleeping and issued rm libmap.conf ?
 * someone logged into my system hacking my password by ssh ?
 -- I will check my logs  

Ockam's razor says you simply stuffed up the system so much it's beyond
recognition.
I suggest reading the FBSD Handbook, including the section about linux
compatibility (and believe the handbook, that is all you have to do to have it
working!), then give this computer another chance by reinstalling.

 
 I don't know.
 
 However, my libmap.conf was missing.
 I tried to adjust it by hand, but I'm not that expert, and everything I 
 do about it
 is useless.
 
 Can anyone of you post me his own libmap.conf file with basic linux 
 emulation ?

I'll say it again - there is NO need to touch libmap.conf when setting up
your run of the mill linux compat. you may *have* to in some cases, but I
haven't had to yet in several years of using linux compat.

 
 I'm running FreeBSD 6.2 , GENERIC,
 the linux base installed system is Fedora Core 4.

you need to install from emulators/linux_base- pick your own. 

Wipe the machine and start again :) that's how we all learnt ;)

good luck!
_
{Beto|Norberto|Numard} Meijome

I used to hate weddings; all the Grandmas would poke me and
say, You're next sonny! They stopped doing that when i
started to do it to them at funerals.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Making a new libmap.conf for linux emulation

2007-06-04 Thread Sereno Ternullo
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.

If I have linux.ko loaded into the kernel, ldconfig fails like this:

[EMAIL PROTECTED] /etc]# ldconfig
Segmentation fault: 11 (core dumped)

With linux.ko loaded into the kernel, 
if I try to start /compat/linux/bin/bash

bash works fine, but if I try to start skype, this is what I get

[EMAIL PROTECTED] /usr/home/sereno]$ skype_bin
skype_bin: error while loading shared libraries: /lib/libGL.so.1: ELF file OS 
ABI invalid

Can anyone tell me the lines I'm missing on my libmap.conf ?

Thank you in advance, 
Sereno Ternullo. 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a new libmap.conf for linux emulation

2007-06-04 Thread Norberto Meijome
On Tue, 5 Jun 2007 00:54:32 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 Hi all, 
 I made too many mistakes configuring my /etc/libmap.conf file and now 
 I'm having problems with my linux sub system.

why do you think you have to do that for? 

 
 If I have linux.ko loaded into the kernel, ldconfig fails like this:
 
 [EMAIL PROTECTED] /etc]# ldconfig
 Segmentation fault: 11 (core dumped)
 
 With linux.ko loaded into the kernel, 
 if I try to start /compat/linux/bin/bash
 
 bash works fine, but if I try to start skype, this is what I get
 
 [EMAIL PROTECTED] /usr/home/sereno]$ skype_bin
 skype_bin: error while loading shared libraries: /lib/libGL.so.1: ELF file OS 
 ABI invalid

I've been using linux compat + skype for a long while (since 6.0-RELEASE) and I 
have never had to touch libmap.conf
clean it up and try again.

 
 Can anyone tell me the lines I'm missing on my libmap.conf ?

Not really - we don't know what lines you do have in your file :)

_
{Beto|Norberto|Numard} Meijome

Either you are incompetent - or you are lying to me.
  Nigel Grange

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf

2007-05-26 Thread Norberto Meijome
On Sat, 26 May 2007 11:10:15 +0300
Odhiambo WASHINGTON [EMAIL PROTECTED] wrote:

 * On 23/05/07 02:49 +1000, Norberto Meijome wrote:
 | On Tue, 22 May 2007 18:57:26 +0300
 | Odhiambo WASHINGTON [EMAIL PROTECTED] wrote:
 | 
 |  /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2
 |  
 |  So you mean it is as simple as:
 |  
 |  libfbclient.so.2  libfbclient.so.1.5.3
 | 
 | yup. Of course, it doesnt mean it will work - if your software expects 
 .so.2 , which implements different procedures not present in xxx.so.1.5.3 
 then it will fail (with a different error msg of course).
 | 
 | I suggest running the application from a shell (rather than launching from 
 X ) so you can see any errors you get.


( added -questions again - there are more people out there that should be able 
to help you).


 
 Actually, I removed the symlink, added the entry into libmap.conf and 
 tried recompiling the software (databases/php5-interbase) and it did
 not work!!!

ok... do you mind pasting again the msg you are getting now. btw...shouldn't 
you be rebuilding / upgrading libfclient, whatever that is? 

Best,

_
{Beto|Norberto|Numard} Meijome

Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir 
in the rest. Hope it doesn't stink.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libmap.conf

2007-05-15 Thread Odhiambo Washington
Instead of:

ln -s /usr/local/lib/libfbclient.so.1.5.3 /usr/local/lib/libfbclient.so.2

Perhaps there is a way to map this using /etc/libmap.conf?



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

It's always a long day; 86400 doesn't fit into a short.


smime.p7s
Description: S/MIME cryptographic signature


Re: libmap.conf

2007-05-15 Thread Norberto Meijome
On Tue, 15 May 2007 14:14:52 +0300
Odhiambo Washington [EMAIL PROTECTED] wrote:

 Perhaps there is a way to map this using /etc/libmap.conf?

man libmap.conf:

[]
EXAMPLES
 # /etc/libmap.conf
 #
 # candidate mapping
 #
 libc_r.so.6 libpthread.so.2 # Everything that uses 'libc_r'
 libc_r.so   libpthread.so   # now uses 'libpthread'

 [/tmp/mplayer]  # Test version of mplayer uses libc_r
 libpthread.so.2 libc_r.so.6
 libpthread.so   libc_r.so

[]
_
{Beto|Norberto|Numard} Meijome

He inherited some good instincts from his Quaker forebears, but by diligent 
hard work, he overcame them.
  James Reston (about Richard Nixon)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libmap.conf file????

2006-12-17 Thread VeeJay

Hi,

I am running a FreeBSD6.1 Webserver with mysql but having problems

I found below mentioned quote on the net? But I don't know where to find
this libmap.conf file?

-quote from the NET
For FreeBSD 6 tests show that using libthr gives the best performance
(search on the net for some benchmarks).
To use libthr, just download the precompiled mysql for FreeBSD 6, and add
the following lines to your /etc/libmap.conf :

[mysqld]
libpthread.so.2 libthr.so.2
libpthread.so libthr.so
After that restart your mysqld, and from then on it should be using libthr.
--end of quote...

While, it says that one has to download precompiled mysql. But I installed
the mysql50-server from the FreeBSD ports collection.

1. I wonder, that would I have to create /etc/libmap.conf file by myself? Or
2. Do I need to install another port to have it work?
3. If I make the file by myself and restart the server, how could I know
that mySQL is using now libthr library?

Thanks for your help
--
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf file????

2006-12-17 Thread Alex de Kruijff
On Sun, Dec 17, 2006 at 06:47:15PM +0100, VeeJay wrote:
 I am running a FreeBSD6.1 Webserver with mysql but having problems
 I found below mentioned quote on the net? But I don't know where to find
 this libmap.conf file?

You should be able to find it in /etc/. If it doesn't exist then you
could create it your self. You can also find examples with:
find / --name *libmap.com*.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Murray Taylor
On Tue, 2004-09-14 at 09:46, Andrew J Caines wrote:
 Jason,
 
 See ports/UPDATING. Search the archives for the error.
 
  Fatal error 'Spinlock called when not threaded.' at line 83 in file 
  /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
 
 Rebuild any threaded app which links to the wrong thread library, or as a
 workaround add this to /etc/libmap.conf:
 
 libpthread.so.1 libpthread.so.1
 libpthread.so libpthread.so
 libc_r.so.5   libpthread.so.1
 libc_r.so libpthread.so
 
 
 
 -Andrew-

Ok i'll bite. what is libmap.conf?, where did you find out about it?

etc etc

root # man libmap.conf
No manual entry for libmap.conf
root # apropos libmap
libmap: nothing appropriate
root # ls /etc/lib*
ls: No match.

root # uname -a
FreeBSD wstaylorm... 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat
Jan 31 14:14:40 EST 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/MJTDEV1  i386

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Dan Nelson
In the last episode (Sep 14), Murray Taylor said:
 Ok i'll bite. what is libmap.conf?, where did you find out about it?
 
 etc etc
 
 root # man libmap.conf
 No manual entry for libmap.conf
 root # apropos libmap
 libmap: nothing appropriate
 root # ls /etc/lib*
 ls: No match.
 
 root # uname -a
 FreeBSD wstaylorm... 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Jan 31 
 14:14:40 EST 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/MJTDEV1  i386

It's a 5.x feature:
http://www.FreeBSD.org/cgi/man.cgi?query=libmap.conf


-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Andrew J Caines
Murray,

 Rebuild any threaded app which links to the wrong thread library, or as a
 workaround add this to /etc/libmap.conf:
 Ok i'll bite. what is libmap.conf?

It's well described in the manual.

 where did you find out about it?

On 4.x I first came across it while getting the Linux Flash plugin port to
work with a native browser.

I was bitten by the spinlock error on 5.x and quickly found references to
the problem, solution and workaround after a simple web and mailing list
archive search.

 root # man libmap.conf
 No manual entry for libmap.conf

# man libmap.conf
LIBMAP.CONF(5)FreeBSD File Formats Manual   LIBMAP.CONF(5)

NAME
 libmap.conf -- configuration file for dynamic object dependency mapping

 root # apropos libmap
 libmap: nothing appropriate

# apropos libmap
libmap.conf(5)   - configuration file for dynamic object dependency mapping

 root # ls /etc/lib*
 ls: No match.

You've got to create it.

 root # uname -a
 FreeBSD wstaylorm... 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat
 Jan 31 14:14:40 EST 2004
 [EMAIL PROTECTED]:/usr/src/sys/compile/MJTDEV1  i386

# uname -a
FreeBSD hal9000.halplant.com 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Aug 26 11:27:03 
EDT 2004 [EMAIL PROTECTED]:/data/obj/data/src/sys/HAL9000  i386

I recommend keeping up-to-date.

 The information transmitted in this e-mail is for the exclusive use of the
 intended addressee and may contain confidential and/or privileged
 material.

I don't care.

 Any review, re-transmission, dissemination or other use of it, or the
 taking of any action in reliance upon this information by persons and/or
 entities other than the intended recipient is prohibited.

I don't care and you are in no position allow or prohibit me doing
anything.

 If you received this in error, please inform the sender and/or addressee
 immediately

Ok. This disclaimer was recived in error, since was written in a published
text, subject to public review, comment and archive. Since this was requested with 
urgency, tell me what urgent action will be taken as a result.

 and delete the material. 

From where exactly would you like this material deleted? Tens of thousands
of private mailboxes, hundreds of private and public archives? Your client
systems and/or server?

 E-mails may not be secure, may contain computer viruses and may be
 corrupted in transmission.

Mommy! Mommy!

 Please carefully check this e-mail (and any attachment) accordingly.

I asked the email if it had packed its contents itself and not left them
unattended at any time.

 No warranties are given and

No warranty? Why would I buy this email message without a warranty?

 no liability is accepted for any loss or damage caused by such matters.

These matters sound dangerous. Someone should do something about them.

 This Email has been scanned for Viruses by MailMarshal.

Wait a minute, didn't you just say...


-Andrew-
-- 
 ___
| -Andrew J. Caines-   Unix Systems Engineer   [EMAIL PROTECTED]  |
| They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety - Benjamin Franklin, 1759 |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Brandon S. Allbery KF8NH
On Mon, 2004-09-13 at 23:18, Dan Nelson wrote:
 In the last episode (Sep 14), Murray Taylor said:
  Ok i'll bite. what is libmap.conf?, where did you find out about it?
 It's a 5.x feature:
 http://www.FreeBSD.org/cgi/man.cgi?query=libmap.conf

Then it was MFCed without a manpage; 4.x has had it for a while now.

-- 
brandon s. allbery[linux,solaris,freebsd,perl] [EMAIL PROTECTED]
system administrator  [WAY too many hats][EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon univ. KF8NH

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Murray Taylor
On Tue, 2004-09-14 at 13:46, Brandon S. Allbery KF8NH wrote:
 On Mon, 2004-09-13 at 23:18, Dan Nelson wrote:
  In the last episode (Sep 14), Murray Taylor said:
   Ok i'll bite. what is libmap.conf?, where did you find out about it?
  It's a 5.x feature:
  http://www.FreeBSD.org/cgi/man.cgi?query=libmap.conf
 
 Then it was MFCed without a manpage; 4.x has had it for a while now.

Ahah!  

boxen at work (FreeBSD 4.9-STABLE #0: Sat Jan 31 14:14:40 EST 2004)
doesnt know about it

boxen at home (FreeBSD 4.9-STABLE #0: Sat Sep  4 15:11:09 EST 2004)
_does_ know about it

Ta all
mjt

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting Mozilla Firefox port to run / libmap.conf

2004-05-15 Thread Christian Hiris
On Saturday 15 May 2004 07:38, Streiner, Justin wrote:
 I grabbed the current version of Firefox from the ports site and ran the
 appropriate portupgrades and installed the linuxflashplugin package to get
 what I think are the appropriate version of libpthread.so.

 I've also created what I think to be a correct version of /etc/libmap.conf
 to allow ld-elf.so to find libpthread.so.1, but it continues to complain
 that libpthread.so.1 can't be found.

 Below is my /etc/libmap.conf:

 libc_r.so.5 libpthread.so.1 # Everything that uses
 'libc_r' libc_r.so   libpthread.so   # now uses
 'libpthread'

 The library exists in /usr/compat/linux/lib.

 -rwxr-xr-x  1 root  0  559279 Nov  5  2003
 /usr/compat/linux/lib/libpthread-0.9.so
 lrwxr-xr-x  1 root  0  15 May 14 16:15
 /usr/compat/linux/lib/libpthread.so - libpthread.so.1
 lrwxr-xr-x  1 root  0  17 May  2 13:01
 /usr/compat/linux/lib/libpthread.so.0 - libpthread-0.9.so
 lrwxr-xr-x  1 root  0  17 May  2 13:04
 /usr/compat/linux/lib/libpthread.so.1 - libpthread-0.9.so

 When I try to launch firefox, the exact error is:
 /libexec/ld-elf.so.1: Shared object libpthread.so.1 not found

 What am I doing wrong?

Your libmap.conf setup seems to be wrong. You can redisplay the pkg-message of 
linuxpluginwrapper by entering the command:   
# cd /var/db/pkg  pkg_info -D linuxpluginwrapper*

regards
ch 


 jms
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpOLpD7Ci3WZ.pgp
Description: signature


getting Mozilla Firefox port to run / libmap.conf

2004-05-14 Thread Streiner, Justin
I grabbed the current version of Firefox from the ports site and ran the
appropriate portupgrades and installed the linuxflashplugin package to get
what I think are the appropriate version of libpthread.so.

I've also created what I think to be a correct version of /etc/libmap.conf
to allow ld-elf.so to find libpthread.so.1, but it continues to complain
that libpthread.so.1 can't be found.

Below is my /etc/libmap.conf:

libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r'
libc_r.so   libpthread.so   # now uses 'libpthread'

The library exists in /usr/compat/linux/lib.

-rwxr-xr-x  1 root  0  559279 Nov  5  2003
/usr/compat/linux/lib/libpthread-0.9.so
lrwxr-xr-x  1 root  0  15 May 14 16:15
/usr/compat/linux/lib/libpthread.so - libpthread.so.1
lrwxr-xr-x  1 root  0  17 May  2 13:01
/usr/compat/linux/lib/libpthread.so.0 - libpthread-0.9.so
lrwxr-xr-x  1 root  0  17 May  2 13:04
/usr/compat/linux/lib/libpthread.so.1 - libpthread-0.9.so

When I try to launch firefox, the exact error is:
/libexec/ld-elf.so.1: Shared object libpthread.so.1 not found

What am I doing wrong?

jms
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with thread libraries (+ libmap.conf??)

2004-03-03 Thread Robert Huff

I'm getting:

Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

for a number of programs.  I though this was supposed to be
fixed by putting:

libc_r.so   libpthread.so
libkse.so   libpthread.so

in /etc/libmap.conf.  Am I correct?
If so - how do I get this to take effect?  Re-run ldconfig?
Reboot the system?


Robert Huff




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linuxpluginwrapper + libmap.conf + fbsd4.9

2004-01-12 Thread epilogue
hello all,

i am trying to build the libmap.conf feature under 4.9 in order to install
the linuxpluginwrapper port.  hopefully someone here will know what to
suggest for the error message i am getting.


port error msg under vanilla 4.9


Please enable libmap.conf(5) feature for rtld(1).
4-stable user:
You can get a following patch.
http://people.FreeBSD.org/~nork/libmap_4stable.diff
Please apply on /usr/src and make install on
/usr/src/libexec/rtld-elf.


download the patch and apply


/usr/src# patch  /foo/libmap_4stable.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
 [snip]
Patching file libexec/rtld-elf/rtld.c using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 132.
Hunk #3 succeeded at 295.
Hunk #4 succeeded at 369.
Hunk #5 succeeded at 797.
Hunk #6 succeeded at 1444.
done


here is where problem occurs


/usr/src/libexec/rtld-elf# make install
install -s -o root -g wheel -m 555  -fschg -C -b ld-elf.so.1 /usr/libexec
install: ld-elf.so.1: No such file or directory
*** Error code 71



i have also tried to 'make buildworld' with the patched source, but it
fails.  however, the failure doesn't seem to be tied directly to the
rtld-elf piece (at least from what i can see).

any suggestions would be very much appreciated.


thanks,
epi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linuxpluginwrapper + libmap.conf + fbsd4.9

2004-01-12 Thread Andrew J Caines
epi,

I reported what I suspect is this problem to the maintainer
([EMAIL PROTECTED]) last night. It's working for me, so it should work for
you too.

 /usr/src# patch  /foo/libmap_4stable.diff

Use...

# patch -p0  /foo/libmap_4stable.diff

The -p0 made the difference in my case, even though without it the patch
appeared to apply correctly.

 /usr/src/libexec/rtld-elf# make install

For good measure, I'd use...

# make clean all  sudo make install

Please follow up to -ports to report success or failure.


-Andrew-
-- 
 ___
| -Andrew J. Caines-   Unix Systems Engineer   [EMAIL PROTECTED]  |
| They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety - Benjamin Franklin, 1759 |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]