Message: Link the library against the Root libraries Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Link the library against the Root libraries 

Forum: Installation and Configuration
Date: 09 Nov, 2011
From: Cristian Bungau <Cristian Bungau>

Hello,

Due to Ubuntu's change to the linker's behavior, I now need to link the library against the root libraries (i.e. add ROOTLIBS to the link line for the library).

So I have to add something like

CXX_LDFLAGS += $(shell $(ROOTSYS)/bin/root-config --libs)

to the GNUMakefile, but CXX_LDFLAGS appears that it is not the useful variable to use. The answer is somewhere in $(G4INSTALL)/config/binmake.gmk), for what variable to use, but I cannot figure it out.

I would be very grateful for any suggestions on linking the libraries correctly.

Thank you,

Best regards,

Cristian

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Link the library against the Root libraries   (jcook - 06 Dec, 2011)
(_ Sad: Re: Link the library against the Root libraries   (Cristian Bungau - 08 Dec, 2011)
(_ Note: Re: Link the library against the Root libraries   (jcook - 08 Dec, 2011)
(_ More: Re: Link the library against the Root libraries   (Cristian Bungau - 09 Dec, 2011)
(_ None: Re: Link the library against the Root libraries   (Nicholas Collin Paul de Gloucester - 09 Dec, 2011)
 Add Message Add Message
to: "Link the library against the Root libraries"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]