Dear Toby,
Thanks a lot for the help and investigation.

> Is this an ubuntu 11 specific problem?
> I do have access to an ubuntu 11.0x machine so I will check this out...

I am using Ubuntu 11.10, and when I used GNU compiler suit 4.6, during the
"make debug", there will be c++ code errors(Unfortunately, I did not save
those errors, but I am happy to reproduce it if this will be helpful.)

After switching to GNU compiler suit 4.5(still on Ubuntu 11.10), there is
no error during "configure" and "make", but the linking issue on missing
PETSc function references will come out. For Ubuntu 11.04, I do not have
first hand experience, but it is very likely that the same linking issue
will come out as Zhicheng reported.

Here are two threads on the similar issues, but their causes might be
totally different.:
http://askubuntu.com/questions/71886/linking-problems-after-upgrade-to-11-10
http://askubuntu.com/questions/69316/problems-with-linking-gsl-cblas

All the best,

Yan

On Wed, Feb 15, 2012 at 6:02 AM, Toby D. Young <[email protected]> wrote:

>
> Yan and Zhicheng,
>
> > Thanks a lot for the help. Explicitly including the library path
> > works! This definitely saves me an clean install of Ubuntu11.04. ;-)
>
> Good things are up and running for you Yan. At least now you can start
> using the library...
>
> > > I used to have same problem with Ubuntu 11.04. My way is add the
> > > path of libpetsc.so to the local makefile ,explicitly e.g.,
> > > In step-17, you could add
> > > "
> /home/vyan2000/local/PPETSc/petsc-3.2-p5/O-deal-debug/lib/libpetsc.so"
> > > to the Makefile as follows:
>
> Anyways, this is a hack and is generally bad practice - configure
> should be doing this automagically for you - I will have to investigate.
>
> Is this an ubuntu 11 specific problem?
> I do have access to an ubuntu 11.0x machine so I will check this out...
>
> Best,
>        Toby
>
> --
> Toby D. Young
>
> Assistant Professor Philosophy & Physics
> Polish Academy of Sciences
> www:   http://www.ippt.gov.pl/~tyoung
> skype: stenografia
>
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to