Re: [gentoo-user] thinkorswim stock trading platform

2006-08-08 Thread Willie Wong
On Mon, Aug 07, 2006 at 09:21:00PM -0700, Penguin Lover Mark Knecht squawked:
   OK, but grep doesn't say anything either since that's the only
 line. For instance:
 
 [EMAIL PROTECTED] ~/Desktop $ cat TOS.txt | grep libc.so.6
 open(/lib/libc.so.6, O_RDONLY)= 3
 [EMAIL PROTECTED] ~/Desktop $ cat TOS.txt | grep libdl.so.2
 open(/lib/libdl.so.2, O_RDONLY)   = 3
 [EMAIL PROTECTED] ~/Desktop $
 

While I'm not an expert either, I think those lines at least mean
that the installer found your libraries. (open returned a file
handler, instead of -1.) So perhaps it is not the path that is causing
your troubles. 

Best, 

W
-- 
Steve:Face it, you're no match for a human opponent.
Pintsize: That's because I don't have thumbs.
Sortir en Pantoufles: up 12 days, 16:22
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread kashani

Mark Knecht wrote:

basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory


Binary installs sometimes err on the side of older libc.

emerge -s compat
*  sys-libs/lib-compat
Latest version available: 1.4.1
Latest version installed: [ Not Installed ]
Size of files: 3,093 kB
Homepage:  http://www.gentoo.org/
	Description:   Compatibility C++ and libc5 and libc6 libraries for 
programs new and old

License:   GPL-2

You may need some other compat libs as well, but I'd see how far 
lib-compat gets you before going crazy with installing other packages.


Mark, you're in the Bay Area aren't you? Going to be a Linux World next 
week? I work about five blocks away and it would be cool to put some 
faces to names and get a beer or two.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread Mark Knecht

On 8/7/06, kashani [EMAIL PROTECTED] wrote:

Mark Knecht wrote:
 basename: error while loading shared libraries: libc.so.6: cannot open
 shared object file: No such file or directory
 hostname: error while loading shared libraries: libc.so.6: cannot open
 shared object file: No such file or directory

Binary installs sometimes err on the side of older libc.

emerge -s compat
*  sys-libs/lib-compat
Latest version available: 1.4.1
Latest version installed: [ Not Installed ]
Size of files: 3,093 kB
Homepage:  http://www.gentoo.org/
Description:   Compatibility C++ and libc5 and libc6 libraries for
programs new and old
License:   GPL-2

You may need some other compat libs as well, but I'd see how far
lib-compat gets you before going crazy with installing other packages.

Mark, you're in the Bay Area aren't you? Going to be a Linux World next
week? I work about five blocks away and it would be cool to put some
faces to names and get a beer or two.

kashani


Kashani,
  I had no plans for Linux World. Never been to one. That said it
sounds like fun. Let's try to work something up off list. I'm down in
Los Gatos. If other Gentoo users are nearby maybe they can drop one of
us a note off list and we can make it a small party. Sounds like fun.

  OK, I emerged lib-compat but it didn't change the results:

dragonfly ~ # eix -Ic lib-compat
[I] sys-libs/lib-compat (1.4.1): Compatibility C++ and libc5 and libc6
libraries for programs new and old

Found 1 matches
dragonfly ~ #

After running updatedb slocate finds the library:

dragonfly ~ # slocate libc.so
/lib/libc.so.6
/usr/lib/libc.so
/usr/lib/libc.so.5


[EMAIL PROTECTED] ~/Desktop $ sh ./thinkorswim_installer.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open
shared object  file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open
shared obj ect file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open
shared ob ject file: No such file or directory
SNIP

Same sort of problem for libdl.so.2:

[EMAIL PROTECTED] ~/Desktop $ slocate libdl.so
/lib/libdl.so.2
/usr/lib/libdl.so
[EMAIL PROTECTED] ~/Desktop $

and again for librt.so.1:

[EMAIL PROTECTED] ~/Desktop $ slocate librt.so
/lib/librt.so.1
/usr/lib/librt.so
[EMAIL PROTECTED] ~/Desktop $

So is this some sort of path problem? The installer expects the
library to be in a certain location? Maybe a symlink from there to
/lib/libc.so.6?

Thanks for getting me closer, and I'll check out Linux World for dates
to see when I could make it.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread kashani

Mark Knecht wrote:


Kashani,
  I had no plans for Linux World. Never been to one. That said it
sounds like fun. Let's try to work something up off list. I'm down in
Los Gatos. If other Gentoo users are nearby maybe they can drop one of
us a note off list and we can make it a small party. Sounds like fun.


Moscone center is roughly 4-5 blocks from the Cal Train depot in SF 
which might be faster if you catch the express and cost less than 
driving plus parking.


http://www.linuxworldexpo.com/live/12/events/12SFO06A

signup now else they'll nail you for $50 the day of the event. Worth it 
even if you don't end up making it. Generally it's fun to to go and 
hange for an afternoon, see Linus or whoever talk, and see what's going on.


hours and days

Monday, August 14, 2006 8:00 AM - 5:00 PM
Tuesday, August 15, 20068:00 AM - 5:00 PM
Wednesday, August 16, 2006  8:00 AM - 5:00 PM
Thursday, August 17, 2006   9:00 AM - 3:00 PM

kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread kashani

kashani wrote:
and then forgot to change the To: address. Sorry about that.

kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread kashani

Mark Knecht wrote:

So is this some sort of path problem? The installer expects the
library to be in a certain location? Maybe a symlink from there to
/lib/libc.so.6?

Thanks for getting me closer, and I'll check out Linux World for dates
to see when I could make it.


I'd guess path issue as well. It might be worth it to manually run 
env-update and/or log out and back in, though those are both long shots. 
Assuming that doesn't work strace or lsof would be my next step in 
figuring out what it might be looking for.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread Mark Knecht

On 8/7/06, kashani [EMAIL PROTECTED] wrote:

Mark Knecht wrote:
 So is this some sort of path problem? The installer expects the
 library to be in a certain location? Maybe a symlink from there to
 /lib/libc.so.6?

 Thanks for getting me closer, and I'll check out Linux World for dates
 to see when I could make it.

I'd guess path issue as well. It might be worth it to manually run
env-update and/or log out and back in, though those are both long shots.
Assuming that doesn't work strace or lsof would be my next step in
figuring out what it might be looking for.

kashani


Hi Kashani,
  I tried logging out and back in earlier. I've also tried it across
my network. No difference.

  strace gave me a bunch of this type of info:

SEVERELY SNIPPED

rt_sigaction(SIGTERM, {SIG_DFL}, {0x8087d99, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {0x8078824, [], 0}, 8) = 0
execve(/opt/blackdown-jdk-1.4.2.03/jre/bin/java,
[/opt/blackdown-jdk-1.4.2.03/jre/..., -Djava.compiler=NONE,
-Xmx50331648, -Xms16777216, com.zerog.lax.LAX,
/tmp/install.dir.23656/temp.lax, /tmp/env.properties.23656], [/*
42 vars */]) = 0
uname({sys=Linux, node=dragonfly, ...}) = 0
brk(0)  = 0x8059000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=104620, ...}) = 0
mmap2(NULL, 104620, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ed8000
close(3)= 0
open(/lib/tls/i686/sse2/libpthread.so.0, O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64(/lib/tls/i686/sse2, 0xbf84bd60) = -1 ENOENT (No such file or directory)
open(/lib/tls/i686/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64(/lib/tls/i686, 0xbf84bd60) = -1 ENOENT (No such file or directory)
open(/lib/tls/sse2/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64(/lib/tls/sse2, 0xbf84bd60) = -1 ENOENT (No such file or directory)
open(/lib/tls/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64(/lib/tls, 0xbf84bd60)  = -1 ENOENT (No such file or directory)
open(/lib/i686/sse2/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64(/lib/i686/sse2, 0xbf84bd60)= -1 ENOENT (No such file or directory)
open(/lib/i686/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64(/lib/i686, 0xbf84bd60) = -1 ENOENT (No such file or directory)
open(/lib/sse2/libpthread.so.0, O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64(/lib/sse2, 0xbf84bd60) = -1 ENOENT (No such file or directory)
open(/lib/libpthread.so.0, O_RDONLY)  = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0004H\0\000...,
512) = 512
close(3)

and then a bunch more like that.

  Maybe someone else will have some ideas when they get a chance to
look at all of this.

  I will call thinkorswim tomorrow and see what sort of support I can
get. Trading with a company that actually supports Linux would be the
best thing ever for me. Since they are looking for new customers this
is the best time for me to put some pressure on them.

  Thanks for your help.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread Willie Wong
On Mon, Aug 07, 2006 at 06:26:05PM -0700, Penguin Lover Mark Knecht squawked:
   strace gave me a bunch of this type of info:

SNIPPED
 
 and then a bunch more like that.
 
   Maybe someone else will have some ideas when they get a chance to
 look at all of this.

The strace output you posted doesn't seem very useful. Have you tried
grepping the output for the offending libraries? Maybe that would give
some hint as to where the installer is looking. 

W
-- 
The Short History of Medicine

2000 B.C. - Here, eat this root
1000 A.D. - That root is heathen.
Here, say this prayer.
1850 A.D. - That prayer is superstition.
Here, drink this potion.
1940 A.D. - That potion is snake oil.
Here, swallow this pill.
1985 A.D. - That pill is ineffective.
Here, take this antibiotic.
2000 A.D. - That antibiotic doesn't work any more.
Here, eat this root.
Sortir en Pantoufles: up 12 days,  4:53
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thinkorswim stock trading platform

2006-08-07 Thread Mark Knecht

On 8/7/06, Willie Wong [EMAIL PROTECTED] wrote:

On Mon, Aug 07, 2006 at 06:26:05PM -0700, Penguin Lover Mark Knecht squawked:
   strace gave me a bunch of this type of info:

SNIPPED

 and then a bunch more like that.

   Maybe someone else will have some ideas when they get a chance to
 look at all of this.

The strace output you posted doesn't seem very useful. Have you tried
grepping the output for the offending libraries? Maybe that would give
some hint as to where the installer is looking.

W


Hey Willie,
  OK, but grep doesn't say anything either since that's the only
line. For instance:

[EMAIL PROTECTED] ~/Desktop $ cat TOS.txt | grep libc.so.6
open(/lib/libc.so.6, O_RDONLY)= 3
[EMAIL PROTECTED] ~/Desktop $ cat TOS.txt | grep libdl.so.2
open(/lib/libdl.so.2, O_RDONLY)   = 3
[EMAIL PROTECTED] ~/Desktop $

Here's a bit of what's in the strace file right around the 2 file names:

mmap2(0xb7f95000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xb7f95000
mmap2(0xb7f9d000, 1836, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f9d000
close(3)= 0
open(/lib/libdl.so.2, O_RDONLY)   = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\v\0..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10484, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7f59000
madvise(0xb7f59000, 12392, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7f5b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f5b000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3

Strange stuff to a person like me!

Thanks,
Mark
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\266O\1..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1190424, ...}) = 0
mmap2(NULL, 1133788, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7e44000
madvise(0xb7e44000, 1133788, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7f53000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10e) = 0xb7f53000
mmap2(0xb7f57000, 7388, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f57000
close(3)= 0
--
gentoo-user@gentoo.org mailing list