Hi all,
I am new here;
I have found that if I call an ELF32 Executable program from a php page
loaded by a 64 bit PHP module then I obtain a shared library error,
even if the program does not require the library.
practical example:
compile this
====== pro.c
#include <stdio.h>
main()
{
printf("Hello world\n");
}
------ cc -o pro -m32 pro.c
then call it from a php page:
========= r.phtml
<?php
$s = "/tmp/pro 2>/tmp/er 1>&2";
echo "$s : ";
$rrr=exec($s);
echo `cat /tmp/er`;
echo "<hr>";
// just to test that it works...
$s = "ls -al /tmp 2>/tmp/er 1>&2";
echo "$s : ";
$rrr=exec($s);
echo `cat /tmp/er`;
?>
---- http://localhost/r,phtml
issuee? Error?Bug? my fault???
Hints? I cannot recompile at 64 all my programs ...
Thanks,
regards,
Ric
I have an Opteron machine running 9.3 with a weird keyboard
behavior. It's a Tyan 2895 K8WE (the dual PCI-express one) with 2x
Opteron 250 on it, and 4GB of RAM.
As soon as I start X (KDE), the keyboard starts behaving erratic: if
I press one key, I get a several times the same character. Very
annoying. It behaves fine in the console mode (without X). I played
around with BIOS settings (key repeat and delay), and the X11
settings. Still the same. It does it both with a PS2 and a USB
keyboard. Anybody have seen anything like this ?
...Luc...
Luc Renambot
luc(a)evl.uic.edu Electronic Visualization Lab (M/
C 152)
EVL Phone (312) 996-3002 University of Illinois at Chicago
EVL FAX (312) 413-7585 851 S. Morgan St. Room 1120 SEO
http://www.evl.uic.edu/luc Chicago, IL 60607-7053
Thank you for your response, Stefan. Below I am responding to it.
Stefan Fent wrote:
>* Constantine 'Gus' Fantanas <fantanas(a)innocent.com> [050529 23:56]:
>
>>Hello all.
>>
>>When I try to run skype (which is a 32-bit binary) with artsdsp, I get
>>the following errors:
>>gus@presario:~> artsdsp skype &
>>[1] 9858
>>gus@presario:~> sh: error while loading shared libraries:
>>/opt/kde3/lib/libartsdsp.so.0: cannot open shared object file: No such
>>file or directory
>>
>
>[...]
>
>>That makes me wonder whether something is broken in the 64-bit 9.3 sound
>>support. The computer my 64-bit 9.3 is running on is a Presario laptop,
>>with a 2.2 GHz AMD64, nvidia chipset and nvidia graphics card (which is
>>why I bought it in the first place).
>>
>>'libartsdsp.so.0' exists, but in '/opt/kde3/lib64', not in
>>'/opt/kde3/lib'. Has SuSE compile artsdsp as a 32-bit program? We do
>>
>
>You are missing arts-32bit.rpm
>
--Now I have it. I am sure! The file '/opt/kde/lib/libartsdsp.so.0' it
complains about is there, too! Is there anything wrong with
permissions? It is mind-boggling, unless I am missing something very
obvious. I pasted the following below:
gus@presario:~> rpm -q arts-32bit
arts-32bit-9.3-7
gus@presario:~> ls -al /opt/kde3/lib | grep dsp
-rwxr-xr-x 1 root root 886 2005-03-22 11:43 libartsdsp.la
lrwxrwxrwx 1 root root 19 2005-05-20 12:52 libartsdsp.so ->
libartsdsp.so.0.0.0
lrwxrwxrwx 1 root root 19 2005-05-20 12:52 libartsdsp.so.0 ->
libartsdsp.so.0.0.0
-rwxr-xr-x 1 root root 11088 2005-03-22 11:43 libartsdsp.so.0.0.0
-rwxr-xr-x 1 root root 868 2005-03-22 11:43 libartsdsp_st.la
lrwxrwxrwx 1 root root 22 2005-05-20 12:52 libartsdsp_st.so ->
libartsdsp_st.so.0.0.0
lrwxrwxrwx 1 root root 22 2005-05-20 12:52 libartsdsp_st.so.0 ->
libartsdsp_st.so.0.0.0
-rwxr-xr-x 1 root root 31300 2005-03-22 11:43 libartsdsp_st.so.0.0.0
gus@presario:~> artsdsp skype
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
Hello all.
When I try to run skype (which is a 32-bit binary) with artsdsp, I get
the following errors:
gus@presario:~> artsdsp skype &
[1] 9858
gus@presario:~> sh: error while loading shared libraries:
/opt/kde3/lib/libartsdsp.so.0: cannot open shared object file: No such
file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
sh: error while loading shared libraries: /opt/kde3/lib/libartsdsp.so.0:
cannot open shared object file: No such file or directory
That makes me wonder whether something is broken in the 64-bit 9.3 sound
support. The computer my 64-bit 9.3 is running on is a Presario laptop,
with a 2.2 GHz AMD64, nvidia chipset and nvidia graphics card (which is
why I bought it in the first place).
'libartsdsp.so.0' exists, but in '/opt/kde3/lib64', not in
'/opt/kde3/lib'. Has SuSE compile artsdsp as a 32-bit program? We do
need artsdsp so we can use programs, like skype, which monopolize the
sound card. (Sure, another option would be a sound card with more than
one hardware channels, capable of hardware mixing, but how do you find
such on a laptop?)
Is java compiled as 32-bit or as 64-bit in stock 9.3?
CF
Hello all,
I've been using the 64-bit version of Suse Linux Professional on a dual AMD
Opteron system since the first x86_64 release (= Suse 9.1). Ever since that
time, I've been trying to establish a PPTP VPN connection to my company's
VPN gateway. However, all my attempts were unsuccessful. Each time a new
release came out, I upgraded to this release in the hope that the problem
would be fixed. Currently, I'm running Suse Linux Professional 9.3. But
still, the problem has not been resolved.
In the meantime I discovered that I can succesfully establish a PPTP VPN
connection using MS-CHAPv2 in the 32-bit version of Suse (tested under
VMWare). In the 64-bit version of the PPTP-client, the whole system freezes
when the PPTP-connection is being established. I use pptp-command to setup
and establish the VPN connection.
Below are the specs of my system configuration :
Tyan dual Opteron mainboard
Dual AMD Opteron 240
Suse 9.3 Professional (x86_64 version)
Kernel 2.6.11.4-20a-smp
pptp-1.5.0-3
ppp-2.4.3-9
smpppd-1.58-6
/etc/ppp/chap-secrets
myusername PPTP mypasswd
PPTP myusername mypasswd
/etc/ppp/options.pptp
lock
noauth
nobsdcomp
nodeflate
require-mppe
refuse-eap
mtu 1000
mru 1000
lcp-echo-failure 10
lcp-echo-interval 10
/etc/ppp/peers/myvpnconnection
# Server IP: 100.100.100.100
# Route: add -host 100.100.100.100 gw DEF_GW
# Route: add -net 192.168.32.0/24 dev TUNNEL_DEV
# Route: add -net 192.168.1.0/24 dev TUNNEL_DEV
name myusername
remotename PPTP
file /etc/ppp/options.pptp
When I enable debugging, this is what's being logged :
May 28 17:01:51 linux pptp[9330]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated
May 28 17:01:51 linux pptp[9333]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request'
May 28 17:01:51 linux pptp[9333]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply
May 28 17:01:51 linux pptp[9333]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.
May 28 17:01:52 linux pptp[9333]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request'
May 28 17:01:52 linux pptp[9333]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.
May 28 17:01:52 linux pptp[9333]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer's call ID 0).
May 28 17:01:52 linux kernel: CSLIP: code copyright 1989 Regents of the University of California
May 28 17:01:52 linux kernel: PPP generic driver version 2.4.2
May 28 17:01:52 linux pppd[9330]: pppd 2.4.3 started by root, uid 0
May 28 17:01:52 linux pppd[9330]: using channel 1
May 28 17:01:52 linux pppd[9330]: Using interface ppp0
May 28 17:01:52 linux pppd[9330]: Connect: ppp0 <--> /dev/pts/0
May 28 17:01:52 linux pppd[9330]: sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x123e4040> <pcomp> <accomp>]
May 28 17:01:54 linux pppd[9330]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x74cb5b96> <pcomp> <accomp>]
May 28 17:01:54 linux pppd[9330]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x74cb5b96> <pcomp> <accomp>]
May 28 17:01:54 linux pppd[9330]: rcvd [LCP ConfAck id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x123e4040> <pcomp> <accomp>]
May 28 17:01:54 linux pppd[9330]: sent [LCP EchoReq id=0x0 magic=0x123e4040]
May 28 17:01:54 linux pppd[9330]: rcvd [LCP EchoReq id=0x0 magic=0x74cb5b96]
May 28 17:01:54 linux pppd[9330]: sent [LCP EchoRep id=0x0 magic=0x123e4040]
May 28 17:01:54 linux pppd[9330]: rcvd [CHAP Challenge id=0x1 <cbbcca90310f0eaeacc892c91875ecf8>, name = "pptpsvr"]
After this, the system freezes. Apparently something goes wrong during the MS-CHAPv2 handshake, but I'm not a programmer to figure this out.
Does someone has a similar problem? Can this problem be fixed?
I really want to keep on working with the 64-bit version. The PPTP-problem is the only reason for still having a Windows system in the closet.
So, if someone can come up with a fix, I will be very happy to dump this M$-system.
I really appreciate any of your help!
Kind regards,
Bart.
I just installed 9.2 on the my 1522LMi. During install, Yast saw the
internal wireless card and I was able to set it up. KWifiManager says
there is no interface. Running ifconfig shows only eth0 and no eth1.
Yast set it up as 'AMBIT Microsystem (AirConn) INPROCOMM IPN2220
Wireless LAN Adapter'. Info Center shows the device on the PCI Bus.
Can anyone help me on this?
Barry
Hello,
I installed 9.3 on my Compaq Presario laptop just a couple of days ago.
I did a clean install because I had 9.2 and the upgrade was too picky
about packages I had installed from apt-get. I have a couple of really
esoteric questions which I think only gurus can answer.
(1) Per Andreas Yaeger of SuSE, Firefox has been compiled as a 32-bit
application (I installed the one that came on the SuSE 9.3 DVD).
However, I observed that it can invoke 64-bit plugins (such as Acrobat
and MPlayer) just fine! I even used 'strace' to make sure the plugins
made calls to 64-bit libraries. How come, then, and a 32-bit Firefox
can invoke 64-bit plugins, but a 64-bit plugin cannot invoke 32-bit
plugins? (Currently, only a 64-bit konqueror can invoke 32-bit plugins.)
(2) aRTS and artsdsp (both presumably 64-bit) seem to handle 64-bit
programs fine. However, 32-bit programs like skype (www.skype.com
--distributed as a 32-bit binary) and flash player seem to want to
monopolize the sound card (skype is still not aRTS-compatible, even on
32-bit systems, but on a 32-bit system 'artsdsp skype' puts a"wrapper"
around skype and routes its sound transactions through the aRTS sound
server, so it shares the sound card). 64-bit programs seem to work fine
in this respect, e.g. I can hear the sound output from my MPlayer
(compiled from source as 64-bit) and amarok at the same time. My
suspicion is that that artsdsp is 64-bits and cannot handle the 32-bit
skype properly for some reason. (If I try to place a call via skype
after amarok started playing, I get the error '/dsp/dsp-1: Device or
resource busy' and if a fire up amarok after bringing up skype --even
via 'artsdsp skype'-- amarok does not play until I shut down skype.)
However, artsdsp does not send any error output to the terminal nor does
it send any output to '/var/log/messages'. So, is there any way to make
aRTS and artsdsp properly handle 32-bit programs? Is there any way to
make 32-bit applications share the sound card with 64-bit applications?
Hello everyone:
I'm running SuSE 9.3/64-bit mode. In
OpenOffice, if I want to save a file as a PDF, I
click on the icon and the file appears in the
folder. However, when I go to open the file,
I get an error message alerting me to:
configure Ghostview
When I go to the Ghostview link,
I'm not sure what to do or what to correct. The
file is also 'incomplete', a two-page document
may only show the first one or two paragarphs.
Has anyone had this same problem.
Under earlier flavors of OpenOffice,
the PDF format was part of the 'print' menu,
but, under v 2.0, PDF has its own button.
Any help greatly appreciated.
Cheers,
Mike
Hello everyone:
Well, it appears that there's a problem with
Ghostview when I export a PDF file from OpenOffice.
If I open Acrobat, I can read the exported OO file with
no problems. BUT, if I simply 'click' on the file's
icon, I continue to get the Ghostview error message.
Seems that Ghostview is the problem and not Acrobat
nor OpenOffice.
Thanks for the help.
Cheers,
Mike