LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make fails because of librreetype.so (http://www.linuxquestions.org/questions/linux-newbie-8/make-fails-because-of-librreetype-so-926149/)

javascriptninja 01-28-2012 07:05 AM

make fails because of librreetype.so
 
When I type make, I get the following error:

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfontconfig.so: undefined reference to symbol 'FT_New_Face'
/usr/bin/ld: note: 'FT_New_Face' is defined in DSO /usr/lib/x86_64-linux-gnu/libfreetype.so so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libfreetype.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [aegisub-2.1] Error 1

What's going on? How can this be fixed?

John VV 01-28-2012 06:32 PM

What is it you are trying to build?
What version of Ubuntu is this?
Where did you get the source you are trying to build ?

Did you Google the error ? "undefined reference to symbol 'FT_New_Face'"

javascriptninja 01-29-2012 03:59 AM

Quote:

Originally Posted by John VV (Post 4587069)
What is it you are trying to build?
What version of Ubuntu is this?
Where did you get the source you are trying to build ?

Did you Google the error ? "undefined reference to symbol 'FT_New_Face'"

I'm trying to build aegisub in Ubuntu 11.10. The source is from http://www.aegisub.org/

I googled the error, but didn't find anything that I could understand.

knudfl 01-29-2012 02:50 PM

Suggest :
Use the binary aegisub, aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
http://ftp.aegisub.org/pub/archives/releases/linux/

tar xvf aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
&& cd aegisub-2.1.8-linux-glibc27-x86_64/ && ./aegisub-2.1

Works OK on the 64bits Ubuntu 11.10 .

.

javascriptninja 01-30-2012 05:55 PM

Quote:

Originally Posted by knudfl (Post 4587619)
Suggest :
Use the binary aegisub, aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
ftp://ftp.aegisub.org/pub/releases/a...x86_64.tar.bz2

tar xvf aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2
&& cd aegisub-2.1.8-linux-glibc27-x86_64/ && ./aegisub-2.1

Works OK on the 64bits Ubuntu 11.10 .

.

Yes, the binary works, but it doesn't work well. For instance, the menu at the top isn't showing.

I remember that a long time ago I was able to get this to compile but forgot what I did. I remember that when I finally got it working it was better than the binary that's supplied.

John VV 01-30-2012 06:47 PM

odd the "aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2"

shows the top menu on OpenSUSE 11.4

now Ubuntu 11.10 is using gnome 3 ? right ? -- that might be a problem
the tarbal was last updated in 2010 -- 2 years ago .

now the source
the README and INSTALL state " To be written. " -- not a good sign .

when ./configure finished ( i am using gcc 4.5 ) at the end is a list of just WHAT will be built
-- for default "./configure"
Code:


Configure settings
  Install prefix:        /usr/local
  SVN Revision:          4062
  Debug                  no
  CXXFLAGS              -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
  CPPFLAGS             
  LDFLAGS               

Default Settings
  Video Provider:       
  Audio Provider:       
  Subtitle Provider:    libass
  Audio Player:          openal

Scripting Engines
  auto3 Lua:            no
  auto4 Lua:            yes
  auto4 Perl:            no
  auto4 Ruby:            no

Audio Players
  ALSA:                  yes
  OpenAL:                yes
  OSS:                  yes
  PortAudio:            no
  PulseAudio:            yes

A/V Support
  FFMPEG:                no
                        (required for video providers)

A/V Providers
  FFMPEG:                no (deprecated)
  FFmpegSource:          no (disabled, requires FFMPEG)

Subtitle Providers:
  CSRI (ASA):            no 
  libASS                yes 
                        (both require iconv and fontconfig)

Misc Packages
  Hunspell:              no 
  universalchardet:      yes

now i am missing a few things
the ffmmpeg IS WRONG it is installed but the current ( was the experimental)


so what is in your configure.log for this
what did it find and not find ?
you might need to pass a lot of things to configure
see:
" ./configure --help "

knudfl 01-30-2012 07:31 PM

1 Attachment(s)
No "Top Menu" ? May be a 'Gnome 3 only' issue ? Ref. post #6
This is aegisub-2.1.8-linux-glibc27-x86_64/ in (K)Ubuntu 11.10 .
Attachment 8986
Not Gnome, but KDE 4 is used.

But the same appereance issues may happen, if you could compile aegisub yourself ?

.

javascriptninja 01-30-2012 08:15 PM

Quote:

Originally Posted by knudfl (Post 4588840)
No "Top Menu" ? May be a 'Gnome 3 only' issue ? Ref. post #6
This is aegisub-2.1.8-linux-glibc27-x86_64/ in (K)Ubuntu 11.10 .
Attachment 8986
Not Gnome, but KDE 4 is used.

But the same appereance issues may happen, if you could compile aegisub yourself ?

.

The menu is missing. It says things like "File." If you press alt+F, you can still access it and use the arrow keys to move around.

javascriptninja 01-30-2012 08:20 PM

Quote:

Originally Posted by John VV (Post 4588795)
odd the "aegisub-2.1.8-linux-glibc27-x86_64.tar.bz2"

shows the top menu on OpenSUSE 11.4

now Ubuntu 11.10 is using gnome 3 ? right ? -- that might be a problem
the tarbal was last updated in 2010 -- 2 years ago .

now the source
the README and INSTALL state " To be written. " -- not a good sign .

when ./configure finished ( i am using gcc 4.5 ) at the end is a list of just WHAT will be built
-- for default "./configure"
Code:


Configure settings
  Install prefix:        /usr/local
  SVN Revision:          4062
  Debug                  no
  CXXFLAGS              -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
  CPPFLAGS             
  LDFLAGS               

Default Settings
  Video Provider:       
  Audio Provider:       
  Subtitle Provider:    libass
  Audio Player:          openal

Scripting Engines
  auto3 Lua:            no
  auto4 Lua:            yes
  auto4 Perl:            no
  auto4 Ruby:            no

Audio Players
  ALSA:                  yes
  OpenAL:                yes
  OSS:                  yes
  PortAudio:            no
  PulseAudio:            yes

A/V Support
  FFMPEG:                no
                        (required for video providers)

A/V Providers
  FFMPEG:                no (deprecated)
  FFmpegSource:          no (disabled, requires FFMPEG)

Subtitle Providers:
  CSRI (ASA):            no 
  libASS                yes 
                        (both require iconv and fontconfig)

Misc Packages
  Hunspell:              no 
  universalchardet:      yes

now i am missing a few things
the ffmmpeg IS WRONG it is installed but the current ( was the experimental)


so what is in your configure.log for this
what did it find and not find ?
you might need to pass a lot of things to configure
see:
" ./configure --help "

I made some changes so that instead of gnome 3 I'm using xfce.

Output of ./configure (using gcc 4.6.1)

Quote:

***********************************************************************
* No supported video/audio reader interface was found on your system.
* You will not be able to open any video or audio files in Aegisub
* unless you install a supported video/audio provider.
* You will however still be able to open "dummy" video, ie. a blank,
* virtual video clip with subtitles overlaid.
* Currently we only support one video/audio provider on non-Windows
* systems:
* - FFmpeg (libavcodec + libavformat)
* * http://ffmpeg.mplayerhq.hu/
***********************************************************************


Configure settings
Install prefix: /usr/local
SVN Revision: 4062
Debug no
CXXFLAGS -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2
CPPFLAGS
LDFLAGS

Default Settings
Video Provider:
Audio Provider:
Subtitle Provider: libass
Audio Player:

Scripting Engines
auto3 Lua: no
auto4 Lua: no
auto4 Perl: no
auto4 Ruby: no

Audio Players
ALSA: no
OpenAL: no
OSS: yes
PortAudio: no
PulseAudio: no

A/V Support
FFMPEG: no
(required for video providers)

A/V Providers
FFMPEG: no (deprecated)
FFmpegSource: no (disabled, requires FFMPEG)

Subtitle Providers:
CSRI (ASA): no
libASS yes
(both require iconv and fontconfig)

Misc Packages
Hunspell: no
universalchardet: yes

John VV 01-30-2012 08:47 PM

you are missing even more than i was ( i do not intend on using this software so i will not be installing it )

it looks like it is using the deprecated OSS audio
not using the current portaudio ( should be the default for ubuntu11 )
not using ALSA also should be a default fall back for ubuntu

no Lua or Perl support

at this point all i can suggest is try the mailing list
http://lists.aegisub.org/mailman/listinfo
but the last thing in the archive is from feb 2011 ( a year old)
the blog
http://blog.aegisub.org/
but the last post was in June 2011
the SVN page
http://devel.aegisub.org/wiki/Developer/SubVersion
was last modified 2 years ago

the project is looking abandoned


All times are GMT -5. The time now is 03:26 AM.