Re: linking against shared libraries not in default path

2010-11-29 Thread Anton Shterenlikht
On Mon, Nov 29, 2010 at 03:00:45PM +0100, Tijl Coosemans wrote: > On Monday 29 November 2010 14:50:59 Anton Shterenlikht wrote: > > I compiled some numerical libraries under my home > > directory, including static and shared libs. The > > shared lib is > > > > % ls ./src/libslatec.so.1 > > ./src/l

Re: linking against shared libraries not in default path

2010-11-29 Thread Tijl Coosemans
On Monday 29 November 2010 14:50:59 Anton Shterenlikht wrote: > I compiled some numerical libraries under my home > directory, including static and shared libs. The > shared lib is > > % ls ./src/libslatec.so.1 > ./src/libslatec.so.1 > % > > Now I'd like to test shared libraries, so I do > > %

Re: linking against shared libraries not in default path

2010-11-29 Thread Igor V. Ruzanov
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x te

Re: linking against shared libraries not in default path

2010-11-29 Thread Igor V. Ruzanov
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x te

[solved] Re: Linking libraries for compat_linux

2008-12-21 Thread Chris
On Dec 19, 2008, at 9:46 AM, Chris wrote: I've bumped into a library I can't resolve and I must have a disconnect in how the linux_compat works because I can't see how it could be solved. I found that using FreeBSD Port fam for the daemon with openSUSE 10 fam 2.7.0 for my /compat/linux/l

Re: Linking libraries for compat_linux

2008-12-20 Thread Chris
On Dec 20, 2008, at 6:05 AM, Boris Samorodov wrote: On Fri, 19 Dec 2008 09:46:03 -0800 Chris wrote: This question is may be better unswered at emulation@ ML. Oops, I didn't ever notice that list as I've never needed Linux before. I hate to trouble development lists with an operational issue

Re: Linking libraries for compat_linux

2008-12-20 Thread Boris Samorodov
On Fri, 19 Dec 2008 09:46:03 -0800 Chris wrote: This question is may be better unswered at emulation@ ML. > I've bumped into a library I can't resolve and I must have a disconnect > in how the linux_compat works because I can't see how it could be > solved. > I have the following: > * compat_linu

Re: Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Dan Nelson
In the last episode (Aug 07), Maxim Khitrov said: > On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > Maxim Khitrov wrote: > >> I take it that this happens because libmat.so is a linux binary, > >> but is there any way to do what I'm after? > > > > You can't mix and match

Re: Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Kris Kennaway
Maxim Khitrov wrote: On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. Yo

Re: Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Maxim Khitrov
On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: > Maxim Khitrov wrote: > >> I take it that this happens because libmat.so is a linux binary, but >> is there any way to do what I'm after? > > You can't mix and match Linux and FreeBSD code in the same binary. You will > have

Re: Linking amd64 binary with a 32-bit linux library

2008-08-07 Thread Kris Kennaway
Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by i

Re: Linking error with __float128 conversions

2007-04-20 Thread Chuck Swiger
On Apr 20, 2007, at 12:08 PM, Hyo geol, Lee wrote: I had problem in linking error with __float128 conversion functions. I am using FreeBSD/amd64 -current and test code is below. [ ... ] When I build above code, I got linking error. Is this just unsupported functions or something missing in head

Re: Linking standalone NASM binary with libc

2005-09-01 Thread Jonathon McKitrick
On Tue, Aug 30, 2005 at 02:11:09PM +0300, Giorgos Keramidas wrote: : I'm sure others can think of more points in support or linking to libc : and against linking to it :-) Most of what I want to do is low-level encryption... like copy protection routines. I love those. So who needs libc for that

Re: Linking standalone NASM binary with libc

2005-08-30 Thread Giorgos Keramidas
On 2005-08-30 11:43, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: >On Tue, Aug 30, 2005 at 01:37:02PM +0300, Giorgos Keramidas wrote: >>On 2005-08-30 04:29, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: >>> I'm doing some experimentation with assembly code based on the int80h.org >>> tutorials. B

Re: Linking standalone NASM binary with libc

2005-08-30 Thread Jonathon McKitrick
On Tue, Aug 30, 2005 at 01:37:02PM +0300, Giorgos Keramidas wrote: : On 2005-08-30 04:29, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: : > : > I'm doing some experimentation with assembly code based on the int80h.org : > tutorials. But since I am going to use malloc and some other functions, : >

Re: Linking standalone NASM binary with libc

2005-08-30 Thread Giorgos Keramidas
On 2005-08-30 04:29, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: > > I'm doing some experimentation with assembly code based on the int80h.org > tutorials. But since I am going to use malloc and some other functions, > I need to make my code link with libc rather than stand totally on its own. >

Re: linking with linux shared library

2005-05-28 Thread Kris Kennaway
On Fri, May 27, 2005 at 03:10:13PM -0700, Simeon Nifos wrote: > Hallo everybody, > > 1:) Suppose I have a Linux Library library.so. > And I want to link it with my main.c compiled > in FreeBSD. How can I achieve that? You can't. You may not need to though. What are you really trying to

Re: linking

2004-08-10 Thread Mark
Thanks for the help. now for a buildworld. On Tue, Aug 10, 2004 at 02:37:10PM -0400, Gary Mulder wrote: > > > > >Say you want to move /usr/local to live in /muz, where you have scads of > >space. Do the following. > > (I have my own naming convention that helps me keep track of things > >

Re: linking

2004-08-10 Thread Gary Mulder
Say you want to move /usr/local to live in /muz, where you have scads of space. Do the following. (I have my own naming convention that helps me keep track of things you can name things as you like - but try to be mnemonic). or alternatively do (and preferably from single user mode, with a

Re: linking

2004-08-10 Thread Jerry McAllister
> > My /usr has grown short of room, so noobie question, will " ln -s /muz/newusr /usr" > allow the system to use the new space or must I do something else?? This is a 5.2rc1 > box in need of updating. =) Well, yes, sort of. It won't just add the space to the current space. You would have to

Re: Linking disk utilization to a process

2003-11-07 Thread Uwe Doering
Sheldon Hearn wrote: Hi folks, Can anyone suggest a way to link disk utilization to a process? I can see whether my disks are busy with systat -vmstat, but I don't know how to find out _which_ processes are causing the work. Ideas? You could enable kernel system accounting (please see sa(8) and

Re: linking a dir

2003-09-16 Thread Gary
Hi Viktor, --On Tuesday, September 16, 2003 07:16:30 PM -0700 Viktor Lazlo <[EMAIL PROTECTED]> wrote: I think kernel.GENERIC is included by default with each release to make sure you have a bootable kernel in the event of problems with one you have compiled yourself and can be moved or deleted i

Re: linking a dir

2003-09-16 Thread Viktor Lazlo
On Tue, 16 Sep 2003, Gary wrote: > Hello Mike, > > Tuesday, September 16, 2003, 11:58:31 AM, you wrote: > > >> dev/ad0s1a128990 86254 3241873%/ > >> > >> -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel > >> -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel.GENERIC >

Re: linking a dir

2003-09-16 Thread Gary
Hello Mike, Tuesday, September 16, 2003, 1:59:11 PM, you wrote: >> FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 >> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC MM> If you "ls -l / | grep kernel", you'll notice that kernel and kernel.GENERIC MM> are identical in size. Yes, I see that on

Re: linking a dir

2003-09-16 Thread Mike Maltese
> FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC If you "ls -l / | grep kernel", you'll notice that kernel and kernel.GENERIC are identical in size. If you were to ever build a new kernel, your current would be moved to kernel.old, so it's rath

Re: linking a dir

2003-09-16 Thread Gary
Hello Mike, Tuesday, September 16, 2003, 11:58:31 AM, you wrote: >> dev/ad0s1a128990 86254 3241873%/ >> >> -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel >> -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel.GENERIC >> >> I don't know which kernel is being used... De

Re: linking a dir

2003-09-16 Thread Gary
Hello Mike, Tuesday, September 16, 2003, 1:14:38 PM, you wrote: >> How do I know which one is being loaded, can't seem to find it in dmesg. MM> I think it's safe to assume that you're not booting kernel.GENERIC. You can MM> specify other kernels at boot time, but if you're not doing that, you c

Re: linking a dir

2003-09-16 Thread Mike Maltese
> How do I know which one is being loaded, can't seem to find it in dmesg. I think it's safe to assume that you're not booting kernel.GENERIC. You can specify other kernels at boot time, but if you're not doing that, you can safely delete kernel.GENERIC. Some like having a generic kernel around

Re: linking a dir

2003-09-16 Thread Andrew L. Gould
On Tuesday 16 September 2003 11:31 am, Gary wrote: > Hello Andrew, > > Tuesday, September 16, 2003, 10:59:19 AM, you wrote: > >> room under /usr) without any problem. > >> > >> Thanks for input.. > > ALG> I don't think you should do this. In single-user mode, I don't think > /usr ALG> would be mou

Re: linking a dir

2003-09-16 Thread Mike Maltese
> dev/ad0s1a128990 86254 3241873%/ > > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel.GENERIC > > I don't know which kernel is being used... Deleting one would surely help. Unless you're specifying it at boot, you c

Re: linking a dir

2003-09-16 Thread Gary
Hello Andrew, Tuesday, September 16, 2003, 10:59:19 AM, you wrote: >> room under /usr) without any problem. >> >> Thanks for input.. ALG> I don't think you should do this. In single-user mode, I don't think /usr ALG> would be mounted; so the system wouln't have access to /usr/etc until you ALG>

Re: linking a dir

2003-09-16 Thread Gary
Hello Mike, Tuesday, September 16, 2003, 11:04:55 AM, you wrote: MM> Deleteing unused kernels would be a good start. What is the size of your / MM> partition? dev/ad0s1a128990 86254 3241873%/ -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel -r-xr-xr-x 1 root wheel 41

Re: linking a dir

2003-09-16 Thread Viktor Lazlo
On Tue, 16 Sep 2003, Gary wrote: > Hello Guys, > > It seems that on a remote box FBSD 4.8, my /dev/ad0s1a or / dir is at 73% capacity > already, and this has me somewhat worried. I attribute this to the /etc > dir inside of the / dir, as it contains many log files, etc... or perhaps > the 2 ker

Re: linking a dir

2003-09-16 Thread Mike Maltese
Deleteing unused kernels would be a good start. What is the size of your / partition? Add most puzzling of all, why do you have logs in /etc? There should be very little write activity on /, so the possiblilty of it filling up shouldn't be much of a concern. - Original Message - From:

Re: linking a dir

2003-09-16 Thread Andrew L. Gould
On Tuesday 16 September 2003 10:51 am, Gary wrote: > Hello Guys, > > It seems that on a remote box FBSD 4.8, my /dev/ad0s1a or / dir is at 73% > capacity already, and this has me somewhat worried. I attribute this to > the /etc dir inside of the / dir, as it contains many log files, etc... or > pe

Re: Linking applications to /usr/local/bin/

2002-10-13 Thread David Lloyd
Matthew, > Why does linking an application such as java/javac to the /usr/local/bin/ > directory make the java and javac commands global? Whereas 'kmail' is not in > there, but if I type it Kmail will launch anyways. Do a "which kmail". You probably need to read about how FreeBSD (and Linux an

Re: Linking a directory to another filesystem

2002-07-25 Thread Jerry McAllister
> > On Thu, Jul 25, 2002 at 02:54:24PM -0700, karl agee wrote: > > sorta newbie question, I think, and not sure where to post it...so I put > > it here. > > > > system: 5.0-current, lots of hard disk space. > > > > I am filling up / with stuff...so much so that the system is crashing > > and r

Re: Linking a directory to another filesystem

2002-07-25 Thread Daniel Bye
On Thu, Jul 25, 2002 at 02:54:24PM -0700, karl agee wrote: > sorta newbie question, I think, and not sure where to post it...so I put > it here. > > system: 5.0-current, lots of hard disk space. > > I am filling up / with stuff...so much so that the system is crashing > and rebooting(!) when I

Re: Linking a directory to another filesystem

2002-07-25 Thread Jerry McAllister
> > sorta newbie question, I think, and not sure where to post it...so I put > it here. > > system: 5.0-current, lots of hard disk space. > > I am filling up / with stuff...so much so that the system is crashing > and rebooting(!) when I print. Problem seems to be that /usr directory > is loc