[osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Cary, Karl A.
I developed something that uses tiffs as textures and developed it in
CentoS 5.5 and everything works just fine. The installation of OSG on
the system was actually built on a CentOS 5.6 machine and then rpm'd and
installed on the 5.5 system. When I try to run the code on 5.6, I get
that it cannot load the tiff plugin. We are able to use other plugins
just fine though. Does anyone have any idea where to begin looking? I am
extremely rushed as this has to be working today and I head out tonight
for a week long vacation.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Jeremy Moles
On Fri, 2011-09-02 at 13:17 -0400, Cary, Karl A. wrote:
> I developed something that uses tiffs as textures and developed it in
> CentoS 5.5 and everything works just fine. The installation of OSG on
> the system was actually built on a CentOS 5.6 machine and then rpm’d
> and installed on the 5.5 system. When I try to run the code on 5.6, I
> get that it cannot load the tiff plugin. We are able to use other
> plugins just fine though. Does anyone have any idea where to begin
> looking? I am extremely rushed as this has to be working today and I
> head out tonight for a week long vacation.

You're probably just missing the libtiff RPM on the new machine, or some
similar library.

Run your program like:

OSG_NOTIFY_LEVEL=DEBUG ./my_binary

...and see if you can track it down.

> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Cary, Karl A.
I will try the notify level. The libtiff rpm is installed. The version is the 
same, but the revision is different, for el5_6.7 instead of el5_5.5. The system 
the osg rpm was made on used the el5_6.7 as well. I actually also tried it on a 
5.5 system that worked and then did a yum update on it to get to 5.6 and it now 
no longer works either. Something in using the new libtiff causes the problem.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jeremy Moles
Sent: Friday, September 02, 2011 1:24 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

On Fri, 2011-09-02 at 13:17 -0400, Cary, Karl A. wrote:
> I developed something that uses tiffs as textures and developed it in
> CentoS 5.5 and everything works just fine. The installation of OSG on
> the system was actually built on a CentOS 5.6 machine and then rpm’d
> and installed on the 5.5 system. When I try to run the code on 5.6, I
> get that it cannot load the tiff plugin. We are able to use other
> plugins just fine though. Does anyone have any idea where to begin
> looking? I am extremely rushed as this has to be working today and I
> head out tonight for a week long vacation.

You're probably just missing the libtiff RPM on the new machine, or some
similar library.

Run your program like:

OSG_NOTIFY_LEVEL=DEBUG ./my_binary

...and see if you can track it down.

> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Cary, Karl A.
More specifically I am seeing "TIFF loader: error opening file", sorry I did 
not see that part before. Then it says "Warning: could not find plugin to read 
objects from ..." The file is the same on both systems, it is actually a 
geotiff file. I am able to use various libtiff utilities such as tiff2rgba etc 
just fine.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jeremy Moles
Sent: Friday, September 02, 2011 1:24 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

On Fri, 2011-09-02 at 13:17 -0400, Cary, Karl A. wrote:
> I developed something that uses tiffs as textures and developed it in
> CentoS 5.5 and everything works just fine. The installation of OSG on
> the system was actually built on a CentOS 5.6 machine and then rpm’d
> and installed on the 5.5 system. When I try to run the code on 5.6, I
> get that it cannot load the tiff plugin. We are able to use other
> plugins just fine though. Does anyone have any idea where to begin
> looking? I am extremely rushed as this has to be working today and I
> head out tonight for a week long vacation.

You're probably just missing the libtiff RPM on the new machine, or some
similar library.

Run your program like:

OSG_NOTIFY_LEVEL=DEBUG ./my_binary

...and see if you can track it down.

> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Cary, Karl A.
I just confirmed that it happens with all tiffs, not just geotiffs. I created 
something in gimp and used that. Worked in 5.5, not in 5.6. I honestly have no 
idea what to do other than to roll my own custom tiff loader, which I don't 
have time to do as it has to be done today.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Cary, Karl A.
Sent: Friday, September 02, 2011 1:45 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

More specifically I am seeing "TIFF loader: error opening file", sorry I did 
not see that part before. Then it says "Warning: could not find plugin to read 
objects from ..." The file is the same on both systems, it is actually a 
geotiff file. I am able to use various libtiff utilities such as tiff2rgba etc 
just fine.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jeremy Moles
Sent: Friday, September 02, 2011 1:24 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

On Fri, 2011-09-02 at 13:17 -0400, Cary, Karl A. wrote:
> I developed something that uses tiffs as textures and developed it in
> CentoS 5.5 and everything works just fine. The installation of OSG on
> the system was actually built on a CentOS 5.6 machine and then rpm’d
> and installed on the 5.5 system. When I try to run the code on 5.6, I
> get that it cannot load the tiff plugin. We are able to use other
> plugins just fine though. Does anyone have any idea where to begin
> looking? I am extremely rushed as this has to be working today and I
> head out tonight for a week long vacation.

You're probably just missing the libtiff RPM on the new machine, or some
similar library.

Run your program like:

OSG_NOTIFY_LEVEL=DEBUG ./my_binary

...and see if you can track it down.

> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Jason Daly

On 09/02/2011 04:30 PM, Cary, Karl A. wrote:

I just confirmed that it happens with all tiffs, not just geotiffs. I created 
something in gimp and used that. Worked in 5.5, not in 5.6. I honestly have no 
idea what to do other than to roll my own custom tiff loader, which I don't 
have time to do as it has to be done today.


What do you see if you run ldd on osgdb_tiff.so?  Does it point to the 
libraries that you expect?


From your description, I doubt this will be the issue, but it's all I 
can think of at the moment.


--"J"

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

2011-09-02 Thread Cary, Karl A.
It points to what I expect. The system it is to go on can either be
CentOS 5.4 or 5.6. So we tried 5.4 and the same issue. Did a fresh
install of 5.5 and it works. I am truly boggled. I tried converting the
tiffs into jpegs just to see if I could use that info. Well it didn't
fail, but it didn't read anything in either, my Image was NULL.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason
Daly
Sent: Friday, September 02, 2011 6:08 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Unable to load osgdb_tiff plugin on CentOS 5.6

On 09/02/2011 04:30 PM, Cary, Karl A. wrote:
> I just confirmed that it happens with all tiffs, not just geotiffs. I
created something in gimp and used that. Worked in 5.5, not in 5.6. I
honestly have no idea what to do other than to roll my own custom tiff
loader, which I don't have time to do as it has to be done today.

What do you see if you run ldd on osgdb_tiff.so?  Does it point to the 
libraries that you expect?

 From your description, I doubt this will be the issue, but it's all I 
can think of at the moment.

--"J"

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org