logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: CVS graph works in standalone but not on Apache server: msg#00021

Subject: Re: CVS graph works in standalone but not on Apache server
Austin Samples (asamples) wrote:
>  
> Actually, I got the test script to run, turns out that I forgot to give
> permissions to run the script. I did however set the permissions for the
> CVSgraph and viewvc and everything related wide open (777) for now.
> That did not fix the problem however, still seeing the little red X
> instead of the graph.
> 
> Anyway, after running your test script below, I get this message when
> running the test script on apache
> 
> ld.so.1: cvsgraph: fatal: libfreetype.so.6: open failed: No such file or
> directory
> 
> Obviously a problem with free type, however when I ran the configure
> script to install CVSgraph, I specified where to find free type with the
> following 
> 
> --with-freetype-lib=/auto/usrcisco-sunos-5.8-sparc-32/lib
> 
> Where libfreetype.so.6 is definitely located at, not sure why it cant
> find the file.  Do I need to specify again where to find libfreetype
> anywhere in the code or in the call to CVSgraph?  Your help is greatly
> appreciated.

This compile-time flag will help the compiler and linker to find the
freetype libraries, but that still leave the *runtime* link resolution high
and dry.  I would suggest add /auto/usrcisco-sunos-5.8-sparc-32/lib to your
LD_LIBRARY_PATH, but in your private mail you indicated that this is (now)
already the case.  Or were you saying you'd added it to your *local*
environment instead of the environment in which Apache runs?

Another thing you can do via your CGI script is run 'ldd' (or whatever it's
SunOS equivalent is) on the cvsgraph binary to get a listing of dependent
libraries and whether or not those libraries resolve as expected.

-- 
C. Michael Pilato <cmpilato@xxxxxxxxxx>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Attachment: signature.asc
Description: OpenPGP digital signature

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe