Red Hat :: Install RHEL4.8 Libxml2 And Libxsl - Undefined References
May 20, 2011
I have a RHEL4.8 machine, and I am trying to install the following libxml2-2.7.8 and libxslt-1.1.26 The OS installed versions are: libxml2-2.6.16-12.6 and libxslt-1.1.11-1.e14_7.2 I installed libxml2-2.7.8 and it appears to have installed successfully. However, when I attempt to build and install libxslt, it complains about some undefined references when linking to libxml2 which I believe are not in the old version (but do exist in the new one I installed). I am not able to erase the old versions and I am not able to update to the ones I want. I am at a dead-end at the moment and I am not sure how to proceed.
I'm writing a C program using WordNet, just a very basic one to test out if everything was working fine, but I'm getting undefined references. I linked to the library and compile with
Code: gcc prog.c -L/usr/local/WordNet-3.0/lib/libWN.a -I/usr/local/WordNet-3.0/include/ This seems to be the only wordnet library to link to, but I'm still getting the error
Code: /tmp/cc4C3I3S.o: In function 'main': prog.c:(.text+0x21): undefined reference to 'is_defined' prog.c:(.text+0x48): undefined reference to 'findtheinfo' collect2: ld returned 1 exit status
I feel it must be an error with the way I'm going about trying to link the files.
Since I could not find the cairo dock package on packman for openSUSE 11.3, I decided to build the package from source. I ran the configure script first and then gave a build using make. I get undefined reference errors for the following symbols while linking.
Ive created a bootable RHEL4 USB flashdrive so that I can do my installs from rather than using CDDVD's. The USB key boots fine to the point where it asks me to select a drive that contains the ISO images, but it doesn't show me the USB drive to select, only my 2 hard drives sda1 and sdb.
We currently use HP xw9400's with the following spec as shown in dmidecode:
BIOS Information
System Information
I know that the xw9400's have the nvidia mcp55 pro chip on the motherboard that handles USB, keyboard, mouse and other peripheral traffic, so am wondering if this could be what the problem is? Like there may some code that i need to tell the machine to use this or something?
just one month before i upgraded my pc to Later configuration but then i can't install rhel4 on my pc. i have heard there is a few upgrades (Updates) will help this issue, is that true? then which update i need to use for install rhel4 successfully on my pc? or is there any third part utilities for solve this issue? here i am adding my pc's spec
AMD Athlon 2.6 Asus M2N68-AM 2 GB DDR II Nvidia 8400Graphics Samsung HDD
My X windows wasn't deployed in the installation at the beginning , but i need to install it now , my system is RHEL4 , i am not connected to the internet , so i will not be able to use up2date , so I need to use rpm instead.
I would like to have your opinion on the problem : I created a ghost of my server RHEL4 with RAID 1 and 5, then I wanted to reinstall it on a virtual server under vmware.
So I restore the image on a virtual disk and qand I restart I still have this problem :
I started in linux rescue mode F5 I reinstall Grub on sda
I modified the modules.conf file to change the BusLogic SCSI, but this module is not in the kernel I used kudzu to reconfigure it doesn't works...
I want to install the wireless lan driver in rhel4. I searched for the driver in internet, i got only Realtek rtl8185_linux_26.1031.1207.2009.release.tar.gz, how to install it in RHEL4.
I am using RHEL4.4 ES with mozilla firefox 1.5.0.3. I am unable to load flash player. The instruction says locate the installation directory of mozilla. That I am unable to find. There is no such directory as /usr/lib/mozilla<version no> in my system. But /usr/lib/firefox<version no> directory is present. I tried by copying the lib.so file in the plugin directory of firefox, but it is not working. Please can some body guide me which version of flash player I should install and hoe to install.
I'm trying to add HTTP authentication to my app (it's a rss reader). As the app is in written in C and uses Libxml2, I've been searching in Libxml2 doc, but it seems it's not possible. Maybe someone could point me to a link to relevant info about how I could achieve that?
I am using libxml2 (libxml2-2.7.6-1.fc10.x86_64 ) I get crash when I call xmlFreeTextReader after the XMl file is processed. Following is the sample code that I am using:
libxml2 works fine on Linux machines. On Windows, the distribution at [URL] is built for the Microsoft C compiler/linker. The tools pexport and dlltool supplied with MinGW work fine to enable linking to these libraries EXCEPT for static data within the DLL. libxml2 is written so that calls to xmlFree, xmlMalloc and xmlRealloc dispatch through static variables in the DLL - the actual function has another name. BUT, the link library that dlltool builds has its own .globl variable that never gets initialized, and calls to xmlFree(whoever) wind up at location 0.
SOLUTION: AFTER an initial call to xmlParseFile() or some other xml function that initializes the DLL's variables, add the line:
if(!xmlFree) xmlMemGet(&xmlFree,&xmlMalloc,&xmlRealloc,NULL) This will initialize the application's static pointers to the dll's routines. (The NULL pointer would return the address of xmlStrdup, but it's a function already, not a variable <???> so it works anyway).This solution is portable - if you run on a Linux machine where the pointers are properly initialized already, it won't hurt anything.
While booting SUSE 11.1 64-bit I get these messages:
Code: Probing EDD (edd off to disable) Undefined video mode 346 Press Enter to see video modes available And then a 30-second wait.
Is it advisable to set edd off? If so, how?
Would that get rid of the 30-second wait?
The video card (NVidia GeForce 6150 LE) and the monitor (ViewSonic VA2216W-4) seem to work fine with SUSE, so I don't understand the "Undefined video mode" message.
Having said that, I've seen much better text-rendering than, for instance, this messageboard. See attached image. Could that be a card/monitor problem? It looks better in Vista with the same hardware. So does Firefox in general.
I am trying to install NOX which is a openflow controller and it needs Xerces-C++ this. I installed it successfully on the Debian. The output of the xerces after running the "make install" command is as follows which shows that is successfully installed on the machine.
I've been at it all day trying to get PHP synced up with MySQL. The long and short of it is, php-mysql RPM's lead me into dependency hell (I've been trying to repent but for some reason I always end up there) after I had already used an RPM to install PHP. MySQL is fine, for now.
Here's where I'm at now... I have since uninstalled any previous versions of PHP and have grabbed the tar.gz2 version of PHP to compile / run with the "--with-mysql" option enabled. However, whenever I try to ./configure --with-mysql, I'm eventually told that "configure:error: libxml2 version 2.6.11 or greater required."
Running "rpm -qi libxml2" confirms that I've got version 2.6.26 installed... What gives!?
As is customary, here is my system info: Information for general problems.
== BEGIN uname -rmi == 2.6.18-238.9.1.el5 i686 i386 == END uname -rmi == == BEGIN rpm -qa *-release* == centos-release-notes-5.6-0.i386 centos-release-5-6.el5.centos.1.i386
I'm using libxml2 to handle/manipulate some XML files. In order to check the consistency of a XML file, I have a DTD and I'm using the xmlValidateDtd method to compute the check.
However, when an error occures during the check (for example an attribute is missing in a XML tag), then libxml2 writes the error on the stdout/stderr. For exemple:
Code:
/home/XML/FreeFour.xml:18: element CA: validity error : Element CA does not carry attribute maxlength
The method return the right result (true or false depending on the check result), but occurring errors are written on the stdout/stderr, and I actually don't want that.
I can't figure out why I'm getting seg fault in this program im making in c++. The program is of the game "Mastermind" board game which I'm sure many of you might have heard of.im fairly new to coding c++. I do not know why I'm getting seg fault error when trying to compile as I'm not using any pointers? or trying to access memory that was not allocated to me?
We have done an installation on a blade server (HP) for RHEL4.5.
The server have an HP smart array 2200 controller and during installation it can see the controller and disks just fine.
The installation completes up to the point where the system needs to reboot , however after the reboot it does not start up again and get stuck at the message: "Trying to boot from drive c:"
We used the rescue option to mount the installation and cant find nythign wrong, even with the grub setup (except that it points to hd96 as its primary disk). we tried changing this to hd0 as well but still no luck.
After about 3 installations we are still not having any luck.
I have 10.10 64-bit on a Fujitsu T900. the hard drive has windows seven as well (64-bit). The win7 is the orginal from the manufacture. the boot log originally had (in this order): Win7, Windows Vista (about 100 MB not sure why but can't remove), recovery partition. I put ubuntu on after those three. Some times when the computer goes into suspend mode from ubuntu it will not wake up after wards. the only option it to power i down manually. when it comes back up there is now a second reference to ubuntu in the boot log. this has happened several times. there are now four valid references to ubuntu in the boot loader. I need to remove three of them, but i'm concerned that removing them will compromise ubuntu. Also I'm not sure where the boo log in windows seven is.
I am developing a system in Python that includes an engine and multiple front ends. I am doing the engine and a curses front end together and will add additional FE's later. My problem is that I don't know how to get my front end to import the modules from the engine. I have them set up in Eclipse (using Pydev) as separate projects, but in the same workspace.
I've been a developer for years, but this is my first Python project, and I'm also fairly new to Eclipse. I guess my question is, How do I set up the references to other projects of my own making?
A while back a disk error caused /var/lib/dpkg/status to go south - completely corrupted. I managed to rebuild it with the help of a script i found online, but now there's a package called libghc6-edison in limbo on my install. It has no sources, as it was custom built, and i cant seem to find the references to this thing. Apt cache shows that it exists, synaptic gives me an error in CLI every time i launch it referring to this package -Traceback (most recent call last):
I've tried grepping all the files in /var/lib/dpkg to no avail. Any ideas where else this information could be stored? i need to find all the references to the package and purge them. It seems to preven me from successfully pulling off a do-release-upgrade (in a VM for testing) as well as doing a remastersys dist (have to do remastersys backup instead).
The package was never available in Lucid, if i remember correctly, i had to compile it myself and debianize it, but i cant seem to find the sources on my build VM or anywhere in the installed end-product OS.