# TeXStudio on SLED-11 SP2

**URL:** <https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896>\
**Category:** SLED Applications\
**Created:** [July 24, 2014, 11:48pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896 "2014-07-24T23:48:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabdelkhalek](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@aabdelkhalek](https://forums.suse.com/u/aabdelkhalek)\
**Post date:** [July 24, 2014, 11:48pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/1 "2014-07-24T23:48:28Z")

</div>

Hi,

I wanted to use TexStudio as my latex editor on SLED-11 SP2 and on their web site they don’t have a package for SLED-11 so I downloaded the one intended for OpenSuSe 11.4 and installed it successfully with no problems.

However when I try to run it in the terminal I get the below error

texstudio: symbol lookup error: texstudio: undefined symbol: \_ZN9QMetaType15registerTypedefEPKci

Is there a way to get texstudio to work on SLED? if not, is there any other LaTex editors that you can recommend?

Thanks,  
Ahmed

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [July 25, 2014, 1:49am UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/2 "2014-07-25T01:49:47Z")

</div>

Hi  
You could ask the Publishing maintainers (click on the users link) if they would fix the spec file (they need to add update-desktop-files as a build requires and add the %suse\_update\_desktop\_file macro) on the Open Build Service and enable the SLE 11 SP2 repo?  
[https://build.opensuse.org/package/show?project=Publishing&package=texstudio](https://build.opensuse.org/package/show?project=Publishing&package=texstudio)

Else texlive may be on the SLE 11 SP2 SDK (it is for SP3).

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [July 25, 2014, 12:23pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/3 "2014-07-25T12:23:52Z")

</div>

I was looking at TeXStudio recently for SLED 11 SP3. I don’t ‘do’ TeX, but I manage machines for people who do.

I couldn’t find an rpm that worked for me so I worked out how to build it from source, more notes are below if you want to give it a go. You’ll need some packages from the SDK. Links to various versions of the SDK can be found via [https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads](https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads)

Need packages: libpoppler-devel libpoppler-qt4-devel libqt4-devel

Build docs are at [http://sourceforge.net/p/texstudio/wiki/Compiling/](http://sourceforge.net/p/texstudio/wiki/Compiling/)

To install without root to /tmp/opt

Unpack source, run ./Build.sh

Enter desire prefix: /tmp/opt

Accept other default answers

The install will fail because despite you having specified a prefix, the installer will still try and put some things in to /usr/share/appdata/. Edit Makefile then re-run the install

`$ sed -i 's!$(INSTALL_ROOT)/usr/share/appdata/!/tmp/opt/share/appdata/!g' Makefile  
$ make install`  
Note the sed command needs changing if you’re not using /tmp/opt

Run with

```auto
$ /tmp/opt/bin/texstudio
```

Some tests fail, but apparently these are known fails  
[http://sourceforge.net/p/texstudio/mailman/message/32472222/](http://sourceforge.net/p/texstudio/mailman/message/32472222/)

There’s a packaging of TeXworks ([http://www.tug.org/texworks/](http://www.tug.org/texworks/)) for SLE-11 SP3 available at [http://software.opensuse.org/package/texworks](http://software.opensuse.org/package/texworks) (click ‘Show other versions’)

SLED 11 SP2 is out of general support. Unless you’ve purchased Long Term Service Pack Support now would be a good time to update to SP3.

---

<div class="post-metadata">

**Author:** ![aabdelkhalek](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@aabdelkhalek](https://forums.suse.com/u/aabdelkhalek)\
**Post date:** [July 25, 2014, 6:27pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/4 "2014-07-25T18:27:48Z")

</div>

Thanks a lot. I followed your steps and Texstudio works now

For SP3 migration, I tried some time ago and just now once again to migrate to SP3 but it fails due to conflicts!

I recall posting it on the forum to get some recommendation and the advice I got was to check with HP because I’m using a specialized HP version or something like that.

The SLED I’m using came pre-installed with an HP laptop

Have you tried migrating to SP3 on HP laptops?

Thanks once again

[QUOTE=mikewillis;22764]I was looking at TeXStudio recently for SLED 11 SP3. I don’t ‘do’ TeX, but I manage machines for people who do.

I couldn’t find an rpm that worked for me so I worked out how to build it from source, more notes are below if you want to give it a go. You’ll need some packages from the SDK. Links to various versions of the SDK can be found via [https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads](https://forums.suse.com/content.php?121-SUSE-Linux-Enterprise-SDK-downloads)

Need packages: libpoppler-devel libpoppler-qt4-devel libqt4-devel

Build docs are at [http://sourceforge.net/p/texstudio/wiki/Compiling/](http://sourceforge.net/p/texstudio/wiki/Compiling/)

To install without root to /tmp/opt

Unpack source, run ./Build.sh

Enter desire prefix: /tmp/opt

Accept other default answers

The install will fail because despite you having specified a prefix, the installer will still try and put some things in to /usr/share/appdata/. Edit Makefile then re-run the install

`$ sed -i 's!$(INSTALL_ROOT)/usr/share/appdata/!/tmp/opt/share/appdata/!g' Makefile  
$ make install`  
Note the sed command needs changing if you’re not using /tmp/opt

Run with

```auto
$ /tmp/opt/bin/texstudio
```

Some tests fail, but apparently these are known fails  
[http://sourceforge.net/p/texstudio/mailman/message/32472222/](http://sourceforge.net/p/texstudio/mailman/message/32472222/)

There’s a packaging of TeXworks ([http://www.tug.org/texworks/](http://www.tug.org/texworks/)) for SLE-11 SP3 available at [http://software.opensuse.org/package/texworks](http://software.opensuse.org/package/texworks) (click ‘Show other versions’)

SLED 11 SP2 is out of general support. Unless you’ve purchased Long Term Service Pack Support now would be a good time to update to SP3.[/QUOTE]

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [July 25, 2014, 7:27pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/5 "2014-07-25T19:27:38Z")

</div>

> [@aabdelkhalek;22784](#):
>
> For SP3 migration, I tried some time ago and just now once again to migrate to SP3 but it fails due to conflicts!
> 
> I recall posting it on the forum to get some recommendation and the advice I got was to check with HP because I’m using a specialized HP version or something like that.
> 
> The SLED I’m using came pre-installed with an HP laptop
> 
> Have you tried migrating to SP3 on HP laptops?

That would be this post  
[https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910](https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910)  
Which shows there is a dependency issue with a HP specific package.

Did you ask HP?

I’ve never dealt with SLED as it’s shipped by HP or SLED on HP laptops. To be honest I’ve never really got to grips with what the deal is regarding HP pre-loading SLED and how they subsequently support it.

---

<div class="post-metadata">

**Author:** ![aabdelkhalek](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@aabdelkhalek](https://forums.suse.com/u/aabdelkhalek)\
**Post date:** [July 25, 2014, 7:53pm UTC](https://forums.suse.com/t/texstudio-on-sled-11-sp2/25896/6 "2014-07-25T19:53:16Z")

</div>

[QUOTE=mikewillis;22787]That would be this post  
[https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910](https://forums.suse.com/showthread.php?4262-Something-is-wrong-with-the-YaST-user-interface&p=19910#post19910)  
Which shows there is a dependency issue with a HP specific package.

Did you ask HP?

I’ve never dealt with SLED as it’s shipped by HP or SLED on HP laptops. To be honest I’ve never really got to grips with what the deal is regarding HP pre-loading SLED and how they subsequently support it.[/QUOTE]

I didn’t do it so far. I just kept things going as it is.

Maybe it is time to ask them 🙂

Thanks,  
Ahmed
