Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-08-2004, 03:14 AM   #1
Registered: Nov 2004
Distribution: Ubuntu 4.10 ( and loving it.
Posts: 15

Rep: Reputation: 0
installed hpoj. now cannot start X server

ARGH!!!! And it's finals week.

OK, Here, here it go . . .


$ tar xzvf hpoj-0.91.tgz
cd in dir
$sudo make install
all no problem and ok

I read and follow the instructions from the hpoj Documentation
restart the cups daeman
ran the web based printer config for cups and printed out a test page.
tried checking for scanning recognition (its an HP OJ 6110) and failed
decided to restart the system

Here is where the fun began.

System starts up . . . everything ok . . . system starts . . . and I get a blue screen with my mouse as a clock waiting with no luck. I cannot even get a login prompt. X won't start.

It must have been something with the printer configuration. So I fumble my way around and discover that ctrl-alt-<function keys> will display different consoles. And I get into a prompt.

Try killing X and restart but with no luck. The only way that I was able to get X to start and use was to be in the F7 display and ctrl-alt-backspace a couple of times so I could log in as root, locate the process id for X and run the command
%kill <pid> ; xdm
#tried startx, but startx will not work

this started enlightenment but was unable to start any other graphical application like gnome-panel.

the following is my .Xclients-default:

#! /bin/bash

gnome-panel &
magicdev &
exec enlightenment

The errors which I get when I try running gnome-panel is the following:
$ gnome-panel
gnome-panel: relocation error: /usr/lib/ undefined symbol: FT_Set_Hint_Flags

Actually, when I try running Firefox, Thunderbird, gnome-session, gaim . . .
$ firefox
(QFA)Talkback error: Can't initialize.
/usr/local/firefox/firefox-bin: relocation error: /usr/lib/ undefined symbol: FT_Set_Hint_Flags
$ thunderbird
/usr/local/thunderbird/thunderbird-bin: relocation error: /usr/lib/ undefined symbol: FT_Set_Hint_Flags
$ gaim
Gaim has segfaulted and attempted to dump a core file.
This is a bug in the software and has happened through
no fault of your own.
. . .

I can't figure this out! Why is there a relocation error?!?

After reading more into the Documentation there was a mention of the ptal service needing to start before any spooler services or there could be hangs in subsequent boots. So on reboot I went through an interactive setup and verified that is was starting before my spooler service. In fact after running redhat-switch-printer and changing to CUPS, this is what I get from another reboot:

Dec 7 23:17:10 localhost network: Bringing up interface eth0: succeeded
Dec 7 23:17:20 localhost xinetd: xinetd startup succeeded
Dec 7 23:17:21 localhost ntpd: succeeded
Dec 7 23:17:21 localhost ntpd: succeeded
Dec 7 23:17:21 localhost ntpd: ntpd startup succeeded
Dec 7 23:17:24 localhost sendmail: sendmail startup succeeded
Dec 7 23:17:24 localhost sendmail: sm-client startup succeeded
Dec 7 23:17:25 localhost gpm: gpm startup succeeded
Dec 7 23:17:25 localhost crond: crond startup succeeded
Dec 7 23:17:25 localhost cups: cupsd startup succeeded
Dec 7 23:17:28 localhost xfs: xfs startup succeeded
Dec 7 23:17:28 localhost anacron: anacron startup succeeded
Dec 7 23:17:29 localhost atd: atd startup succeeded

I tried running a "make uninstall" to no avail, it is not supported for the hpoj driver.

Please help, I know that hpoj changed some vital library which is needed by the Xserver and most other applications. I do not know where all the files were installed from the make install (yes, i tried an rpm but one was not available for RH8, and yes . . .damn the red hat jokes, just forget them.) Besides, I am worried that deleting the files will not make a difference as deleting files manually do not undo any changes they might have made in my filesystem.

I will post more output errors from trying to start X.

Thank you in advance.
Old 12-08-2004, 03:48 AM   #2
Registered: Nov 2004
Distribution: Ubuntu 4.10 ( and loving it.
Posts: 15

Original Poster
Rep: Reputation: 0
output from startx

After killing a running X server and attempting to restart X with "startx",
these are the error messages I get

XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host:

Module Loader present
OS Kernel: Linux version 2.4.18-14 ( (gcc v
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Dec 8 00:38:52 2004
(==) Using config file: "/etc/X11/XF86Config"
Loaded background '0x8095d18
/usr/bin/gnome-session: relocation error: /usr/lib/ undefined symbol

waiting for X server to shut down

This is the message I get when attempting to run Eclipse:
eclipse: relocation error: /usr/lib/ undefined symbol: FT_Set_Hint_Flags

I am starting to see a theme here.
$cd /usr/lib
$ls -al | grep
lrwxrwxrwx 1 root root 11 Nov 26 04:04 ->*
lrwxrwxrwx 1 root root 13 Nov 26 03:45 ->*
-rwxr-xr-x 1 root root 80K Sep 2 2002*

Again, I only seem to get into to X by starting xdm, However, with severe application
restrictions. Applications such as Xine, XMMS and XChat are working fine. So is Mozilla,
but not Firefox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing HPOJ mngmd Linux - Hardware 1 04-28-2005 05:10 AM
CUPS and HPOJ: picky printing thebravenoob Linux - Software 3 12-04-2004 02:27 PM
hpoj and libusb compiling problems jonman364 Linux - Software 1 11-09-2004 05:38 PM
The HPOJ-driver HULLU Linux - Hardware 0 03-26-2004 07:41 PM
CUPS and hpoj running at the same time? geezjan Linux - Newbie 1 08-16-2003 03:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration