Undefined symbol in libharfbuzz

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-2
down vote

favorite












I am using MATLAB on Arch Linux and I am running into problems. When I try and open the help (doc) I get the following error




/opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var




Now from what I can piece together there is not as simple as rolling back the harfbuzz package since there is some sort of interaction between freetype2 and harfbuzz in that they need to be built against each other.



As MATLAB is proprietary it is hard to know exactly what is going on, but my guess is something in MATLAB was built against the older freetype2/harfbuzz setup and that is now causing issues. Does this seem reasonable? If so, how do I work around it? If not, what else could be going on?







share|improve this question



















  • Documented in the wiki...
    – jasonwryan
    May 18 at 22:20














up vote
-2
down vote

favorite












I am using MATLAB on Arch Linux and I am running into problems. When I try and open the help (doc) I get the following error




/opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var




Now from what I can piece together there is not as simple as rolling back the harfbuzz package since there is some sort of interaction between freetype2 and harfbuzz in that they need to be built against each other.



As MATLAB is proprietary it is hard to know exactly what is going on, but my guess is something in MATLAB was built against the older freetype2/harfbuzz setup and that is now causing issues. Does this seem reasonable? If so, how do I work around it? If not, what else could be going on?







share|improve this question



















  • Documented in the wiki...
    – jasonwryan
    May 18 at 22:20












up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I am using MATLAB on Arch Linux and I am running into problems. When I try and open the help (doc) I get the following error




/opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var




Now from what I can piece together there is not as simple as rolling back the harfbuzz package since there is some sort of interaction between freetype2 and harfbuzz in that they need to be built against each other.



As MATLAB is proprietary it is hard to know exactly what is going on, but my guess is something in MATLAB was built against the older freetype2/harfbuzz setup and that is now causing issues. Does this seem reasonable? If so, how do I work around it? If not, what else could be going on?







share|improve this question











I am using MATLAB on Arch Linux and I am running into problems. When I try and open the help (doc) I get the following error




/opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var




Now from what I can piece together there is not as simple as rolling back the harfbuzz package since there is some sort of interaction between freetype2 and harfbuzz in that they need to be built against each other.



As MATLAB is proprietary it is hard to know exactly what is going on, but my guess is something in MATLAB was built against the older freetype2/harfbuzz setup and that is now causing issues. Does this seem reasonable? If so, how do I work around it? If not, what else could be going on?









share|improve this question










share|improve this question




share|improve this question









asked May 18 at 20:19









StrongBad

2,07452349




2,07452349











  • Documented in the wiki...
    – jasonwryan
    May 18 at 22:20
















  • Documented in the wiki...
    – jasonwryan
    May 18 at 22:20















Documented in the wiki...
– jasonwryan
May 18 at 22:20




Documented in the wiki...
– jasonwryan
May 18 at 22:20










1 Answer
1






active

oldest

votes

















up vote
0
down vote













From the Arch Linux wiki:




A solution is to install outdated versions of the libraries in the packages cairo (1.14.10 works) and harfbuzz (1.4.6 works) to a local directory and add them to the LD_LIBRARY_PATH for matlab (See also: [5]):



LD_LIBRARY_PATH="/opt/matlab/outdatedLibraries/:$LD_LIBRARY_PATH" /opt/matlab/R2017b/bin/matlab






share|improve this answer























  • No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
    – StrongBad
    May 20 at 17:01










  • Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
    – Jeff Schaller
    May 20 at 17:32










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444701%2fundefined-symbol-in-libharfbuzz%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













From the Arch Linux wiki:




A solution is to install outdated versions of the libraries in the packages cairo (1.14.10 works) and harfbuzz (1.4.6 works) to a local directory and add them to the LD_LIBRARY_PATH for matlab (See also: [5]):



LD_LIBRARY_PATH="/opt/matlab/outdatedLibraries/:$LD_LIBRARY_PATH" /opt/matlab/R2017b/bin/matlab






share|improve this answer























  • No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
    – StrongBad
    May 20 at 17:01










  • Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
    – Jeff Schaller
    May 20 at 17:32














up vote
0
down vote













From the Arch Linux wiki:




A solution is to install outdated versions of the libraries in the packages cairo (1.14.10 works) and harfbuzz (1.4.6 works) to a local directory and add them to the LD_LIBRARY_PATH for matlab (See also: [5]):



LD_LIBRARY_PATH="/opt/matlab/outdatedLibraries/:$LD_LIBRARY_PATH" /opt/matlab/R2017b/bin/matlab






share|improve this answer























  • No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
    – StrongBad
    May 20 at 17:01










  • Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
    – Jeff Schaller
    May 20 at 17:32












up vote
0
down vote










up vote
0
down vote









From the Arch Linux wiki:




A solution is to install outdated versions of the libraries in the packages cairo (1.14.10 works) and harfbuzz (1.4.6 works) to a local directory and add them to the LD_LIBRARY_PATH for matlab (See also: [5]):



LD_LIBRARY_PATH="/opt/matlab/outdatedLibraries/:$LD_LIBRARY_PATH" /opt/matlab/R2017b/bin/matlab






share|improve this answer















From the Arch Linux wiki:




A solution is to install outdated versions of the libraries in the packages cairo (1.14.10 works) and harfbuzz (1.4.6 works) to a local directory and add them to the LD_LIBRARY_PATH for matlab (See also: [5]):



LD_LIBRARY_PATH="/opt/matlab/outdatedLibraries/:$LD_LIBRARY_PATH" /opt/matlab/R2017b/bin/matlab







share|improve this answer















share|improve this answer



share|improve this answer








answered May 20 at 16:04



























community wiki





Jeff Schaller












  • No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
    – StrongBad
    May 20 at 17:01










  • Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
    – Jeff Schaller
    May 20 at 17:32
















  • No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
    – StrongBad
    May 20 at 17:01










  • Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
    – Jeff Schaller
    May 20 at 17:32















No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
– StrongBad
May 20 at 17:01




No doubt this will work, but since it seems to be an issue not with the new version but compile flags, I would rather rebuild the libraries with the needed flags to prevent the problems.
– StrongBad
May 20 at 17:01












Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
– Jeff Schaller
May 20 at 17:32




Go for it! I was just trying to convert a possible answer from a comment to an Answer. If you discover steps to solve the problem otherwise, please write up an Answer.
– Jeff Schaller
May 20 at 17:32












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444701%2fundefined-symbol-in-libharfbuzz%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)